Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001679/0.001679, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001755/0.001755, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.661/1.661, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2405/0.2405, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4444, allocations: 66.03 MB / 0.5618 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003182/0.4475, allocations: 1.675 MB / 0.5635 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4487, allocations: 0.5622 MB / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.4488, allocations: 0 / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.4494, allocations: 463.1 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.4499, allocations: 291.3 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.4503, allocations: 191.1 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.4506, allocations: 187.6 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4507, allocations: 12.22 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.4509, allocations: 119.7 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.4512, allocations: 251.5 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4512, allocations: 4 kB / 0.5655 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.4513, allocations: 55.97 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4514, allocations: 91.62 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.4515, allocations: 71.25 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.4519, allocations: 289.2 kB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4519, allocations: 0 / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4519, allocations: 4 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4519, allocations: 0 / 0.566 GB, free: 72 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008252/0.4527, allocations: 0.597 MB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4527, allocations: 12.03 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.4528, allocations: 40.66 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4531, allocations: 246.8 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4531, allocations: 8.375 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.4532, allocations: 4.375 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4534, allocations: 73.72 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4534, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4534, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4534, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.4535, allocations: 43.95 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.4541, allocations: 368.2 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.4544, allocations: 58.48 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.4544, allocations: 24.97 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4545, allocations: 7.984 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4545, allocations: 34.56 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.4545, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001601/0.4561, allocations: 0.4964 MB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4561, allocations: 55.41 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.457, allocations: 0.8652 MB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4571, allocations: 29.7 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4573, allocations: 216.1 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.4573, allocations: 35.69 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.4574, allocations: 25.66 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4575, allocations: 362.8 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4577, allocations: 55.97 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.4578, allocations: 55.95 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4581, allocations: 128.7 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4581, allocations: 0 / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003885/0.4585, allocations: 205.2 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4585, allocations: 4 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4585, allocations: 4 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4585, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4587, allocations: 27.97 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4587, allocations: 3.938 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.4588, allocations: 8 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4588, allocations: 0 / 0.5699 GB, free: 11.84 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 (11): * Single equations (assignments): 11 * 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 0.0002232/0.459, allocations: 229.7 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.459, allocations: 43.72 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.4596, allocations: 233.7 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4596, allocations: 0 / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4596, allocations: 8.5 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4596, allocations: 0 / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.4604, allocations: 0.527 MB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4604, allocations: 4 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4605, allocations: 31.98 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4605, allocations: 7.922 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4606, allocations: 0 / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4606, allocations: 4 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4606, allocations: 0 / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.461, allocations: 312.8 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.4611, allocations: 39.66 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4611, allocations: 7.984 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4612, allocations: 11.98 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4613, allocations: 7.984 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.4613, allocations: 0 / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006532/0.4619, allocations: 0.655 MB / 0.572 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4619, allocations: 96 / 0.572 GB, free: 9.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.4622, allocations: 39.86 kB / 0.572 GB, free: 9.605 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001835/0.4641, allocations: 0.4913 MB / 0.5725 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.4644, allocations: 131.8 kB / 0.5726 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4644, allocations: 0 / 0.5726 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.4646, allocations: 67.89 kB / 0.5727 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.465, allocations: 28.12 kB / 0.5727 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4664, allocations: 0.9194 MB / 0.5736 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4667, allocations: 236.8 kB / 0.5738 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.4667, allocations: 19.44 kB / 0.5738 GB, free: 7.875 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4667, allocations: 0 / 0.5738 GB, free: 7.875 MB / 414.1 MB Notification: Performance of Templates: time 0.008065/0.4748, allocations: 4.401 MB / 0.5781 GB, free: 3.469 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 8.115833879011916]