Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 208.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2671/0.2671, allocations: 46.97 MB / 360.9 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 63.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3573, allocations: 66.04 MB / 0.5611 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003265/0.3606, allocations: 1.59 MB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3627, allocations: 1.22 MB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.3627, allocations: 7.938 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.3629, allocations: 23.84 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.3633, allocations: 83.62 kB / 0.564 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3635, allocations: 95.38 kB / 0.564 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3637, allocations: 79.81 kB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.3638, allocations: 4 kB / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.3638, allocations: 31.86 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.364, allocations: 27.84 kB / 0.5642 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.364, allocations: 4 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3641, allocations: 95.89 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.3642, allocations: 19.91 kB / 0.5643 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.3642, allocations: 11.94 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3645, allocations: 146.1 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3645, allocations: 3.984 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3645, allocations: 4 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3645, allocations: 0 / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005137/0.365, allocations: 329.7 kB / 0.5648 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.365, allocations: 8.031 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.3651, allocations: 12.83 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3653, allocations: 133.4 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3653, allocations: 4.375 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3653, allocations: 4.375 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3655, allocations: 89.22 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3655, allocations: 0 / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3655, allocations: 8 kB / 0.565 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3655, allocations: 4 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.3656, allocations: 27.91 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.366, allocations: 220.5 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3662, allocations: 42.56 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.3663, allocations: 12.94 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3663, allocations: 0 / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3664, allocations: 38.56 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3664, allocations: 3.938 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000575/0.3669, allocations: 137.5 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.367, allocations: 77.11 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3672, allocations: 152.6 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3672, allocations: 25.7 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3672, allocations: 92.14 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.3673, allocations: 23.78 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3673, allocations: 21.7 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3675, allocations: 322.8 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.3675, allocations: 19.98 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.3676, allocations: 59.39 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3678, allocations: 44.84 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3678, allocations: 192 / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.3679, allocations: 85.61 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.368, allocations: 7.938 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.368, allocations: 8.031 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.368, allocations: 3.938 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.368, allocations: 11.98 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3681, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3681, allocations: 4 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3681, allocations: 7.984 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.3682, allocations: 117.8 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.3682, allocations: 11.88 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3685, allocations: 94.06 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3685, allocations: 3.938 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3685, allocations: 4 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3685, allocations: 0 / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3689, allocations: 282.2 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3689, allocations: 4 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.369, allocations: 11.98 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.369, allocations: 0 / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.369, allocations: 4 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.369, allocations: 0 / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.369, allocations: 4 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3693, allocations: 183.3 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.3693, allocations: 12.2 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3693, allocations: 0 / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.3694, allocations: 11.98 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3694, allocations: 3.938 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3694, allocations: 0 / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3695, allocations: 115.2 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3695, allocations: 4 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3698, allocations: 39.86 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.3716, allocations: 0.5181 MB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3718, allocations: 51.89 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3718, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.3719, allocations: 23.98 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.3722, allocations: 15.98 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.3727, allocations: 169.6 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.686e-05/0.3728, allocations: 79.02 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.3728, allocations: 23.69 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3729, allocations: 15.44 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3729, allocations: 0 / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.00505/0.3779, allocations: 1.832 MB / 0.5699 GB, free: 11.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.473386535886675]