Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 108.9 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 184.5 kB / 21.5 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 207.6 MB / 232.1 MB, free: 3.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4397/0.4397, allocations: 44.23 MB / 328.4 MB, free: 6.223 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 79 kB / 465.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1666, allocations: 61.02 MB / 0.5143 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003407/0.17, allocations: 1.672 MB / 0.5159 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1716, allocations: 0.8032 MB / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1717, allocations: 0 / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.1722, allocations: 57.05 kB / 0.5167 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1724, allocations: 61.33 kB / 0.5168 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1727, allocations: 80.28 kB / 0.5169 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1729, allocations: 87.45 kB / 0.517 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.173, allocations: 6.734 kB / 0.517 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1731, allocations: 47.08 kB / 0.517 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1732, allocations: 26.89 kB / 0.517 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1733, allocations: 8 kB / 0.5171 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1733, allocations: 35.98 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.1734, allocations: 27.84 kB / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1735, allocations: 39.67 kB / 0.5172 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1737, allocations: 115.5 kB / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1737, allocations: 0 / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1737, allocations: 0 / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1737, allocations: 0 / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006248/0.1743, allocations: 434.6 kB / 0.5177 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1744, allocations: 15.84 kB / 0.5177 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.1744, allocations: 20.84 kB / 0.5177 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1748, allocations: 228 kB / 0.5179 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1748, allocations: 384 / 0.5179 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1748, allocations: 8.125 kB / 0.5179 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.175, allocations: 49.61 kB / 0.518 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.175, allocations: 3.984 kB / 0.518 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.175, allocations: 0 / 0.518 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.175, allocations: 4 kB / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.1751, allocations: 12 kB / 0.518 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.1752, allocations: 193.7 kB / 0.5182 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1754, allocations: 50.56 kB / 0.5182 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.1755, allocations: 24.78 kB / 0.5183 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1755, allocations: 0 / 0.5183 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.1756, allocations: 67.39 kB / 0.5183 GB, free: 8.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1756, allocations: 0 / 0.5183 GB, free: 8.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.1759, allocations: 97.52 kB / 0.5184 GB, free: 8.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1759, allocations: 59.39 kB / 0.5185 GB, free: 8.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1762, allocations: 258.3 kB / 0.5187 GB, free: 8.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1762, allocations: 33.62 kB / 0.5188 GB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1762, allocations: 108.1 kB / 0.5189 GB, free: 8.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1762, allocations: 11.94 kB / 0.5189 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1763, allocations: 21.72 kB / 0.5189 GB, free: 8.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.1763, allocations: 326.8 kB / 0.5192 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.1764, allocations: 15.98 kB / 0.5192 GB, free: 7.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.1764, allocations: 29.7 kB / 0.5192 GB, free: 7.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.1765, allocations: 41.66 kB / 0.5193 GB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1765, allocations: 0 / 0.5193 GB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001469/0.1767, allocations: 97.83 kB / 0.5194 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1767, allocations: 4 kB / 0.5194 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1767, allocations: 0 / 0.5194 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1767, allocations: 4 kB / 0.5194 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.1768, allocations: 15.94 kB / 0.5194 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1768, allocations: 0 / 0.5194 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1768, allocations: 7.953 kB / 0.5194 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1768, allocations: 0 / 0.5194 GB, free: 7.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.991e-05/0.1769, allocations: 149.7 kB / 0.5195 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1769, allocations: 11.91 kB / 0.5196 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1771, allocations: 90.67 kB / 0.5196 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1771, allocations: 0 / 0.5196 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1771, allocations: 0 / 0.5196 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1771, allocations: 3.938 kB / 0.5196 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1773, allocations: 201.5 kB / 0.5198 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1773, allocations: 3.938 kB / 0.5198 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.1773, allocations: 4 kB / 0.5198 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1773, allocations: 0 / 0.5198 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1773, allocations: 8 kB / 0.5199 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1773, allocations: 3.984 kB / 0.5199 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1773, allocations: 0 / 0.5199 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.1774, allocations: 109 kB / 0.52 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.1775, allocations: 93 kB / 0.5201 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1775, allocations: 0 / 0.5201 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.1775, allocations: 4 kB / 0.5201 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1776, allocations: 8 kB / 0.5201 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1776, allocations: 3.984 kB / 0.5201 GB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1777, allocations: 192.5 kB / 0.5203 GB, free: 6.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.5203 GB, free: 6.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.1779, allocations: 20 kB / 0.5203 GB, free: 6.68 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001547/0.1795, allocations: 423 kB / 0.5207 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1797, allocations: 39.92 kB / 0.5207 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1797, allocations: 8.062 kB / 0.5207 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.1797, allocations: 23.92 kB / 0.5207 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.18, allocations: 31.89 kB / 0.5208 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.1805, allocations: 270.4 kB / 0.521 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1808, allocations: 0.708 MB / 0.5217 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.1809, allocations: 20.8 kB / 0.5217 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.1809, allocations: 11.44 kB / 0.5218 GB, free: 5.152 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1809, allocations: 3.938 kB / 0.5218 GB, free: 5.148 MB / 382.1 MB Notification: Performance of Templates: time 0.005534/0.1865, allocations: 1.519 MB / 0.5232 GB, free: 3.637 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.731144899502397]