Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001563/0.001563, allocations: 109.8 kB / 19.69 MB, free: 2.199 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.001624/0.001624, allocations: 187.9 kB / 22.98 MB, free: 5.062 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.822/1.822, allocations: 207.6 MB / 233.7 MB, free: 9.996 MB / 190.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.2562/0.2562, allocations: 44.23 MB / 330.2 MB, free: 9.539 MB / 270.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002263/0.002263, allocations: 72.45 kB / 468 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1651, allocations: 61.05 MB / 0.5166 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004242/0.1694, allocations: 1.726 MB / 0.5183 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1711, allocations: 0.839 MB / 0.5192 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.1712, allocations: 3.938 kB / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1716, allocations: 107.7 kB / 0.5193 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1719, allocations: 87.66 kB / 0.5193 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1722, allocations: 87.75 kB / 0.5194 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1724, allocations: 119.7 kB / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1726, allocations: 23.95 kB / 0.5196 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1727, allocations: 51.78 kB / 0.5196 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1728, allocations: 83.66 kB / 0.5197 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1728, allocations: 4 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.173, allocations: 47.97 kB / 0.5197 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.173, allocations: 27.92 kB / 0.5198 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.1731, allocations: 47.69 kB / 0.5198 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1734, allocations: 147.3 kB / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1734, allocations: 0 / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1734, allocations: 0 / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1734, allocations: 0 / 0.52 GB, free: 3.383 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006836/0.1741, allocations: 365.5 kB / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1741, allocations: 12.02 kB / 0.5203 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1742, allocations: 16.84 kB / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1746, allocations: 173.9 kB / 0.5205 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1746, allocations: 384 / 0.5205 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1746, allocations: 8.125 kB / 0.5205 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1749, allocations: 77.53 kB / 0.5206 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1749, allocations: 3.938 kB / 0.5206 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1749, allocations: 0 / 0.5206 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1749, allocations: 0 / 0.5206 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.175, allocations: 35.97 kB / 0.5206 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.1756, allocations: 295.8 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1759, allocations: 70.73 kB / 0.521 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.1759, allocations: 20.84 kB / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.176, allocations: 4 kB / 0.521 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1762, allocations: 79.41 kB / 0.5211 GB, free: 2.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1762, allocations: 0 / 0.5211 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008053/0.177, allocations: 237.2 kB / 0.5213 GB, free: 1.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1771, allocations: 55.41 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.1774, allocations: 242.5 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.1774, allocations: 37.69 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1775, allocations: 108.1 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1776, allocations: 35.7 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1777, allocations: 33.7 kB / 0.5218 GB, free: 1.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.1779, allocations: 322.8 kB / 0.5221 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.178, allocations: 31.98 kB / 0.5221 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1782, allocations: 53.7 kB / 0.5222 GB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1784, allocations: 85.58 kB / 0.5223 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1784, allocations: 0 / 0.5223 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003093/0.1787, allocations: 133.6 kB / 0.5224 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1787, allocations: 4 kB / 0.5224 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1787, allocations: 4 kB / 0.5224 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.1788, allocations: 0 / 0.5224 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1789, allocations: 23.92 kB / 0.5224 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.1789, allocations: 7.938 kB / 0.5224 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.179, allocations: 0 / 0.5224 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.179, allocations: 8 kB / 0.5224 GB, free: 0.6445 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0002094/0.1792, allocations: 137.9 kB / 0.5226 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1792, allocations: 15.91 kB / 0.5226 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1796, allocations: 150.9 kB / 0.5227 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1796, allocations: 0 / 0.5227 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.1797, allocations: 3.938 kB / 0.5227 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.1797, allocations: 7.984 kB / 0.5227 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.1804, allocations: 418.3 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1805, allocations: 0 / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.1805, allocations: 27.89 kB / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1805, allocations: 0 / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1805, allocations: 4 kB / 0.5232 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1805, allocations: 0 / 0.5232 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1805, allocations: 0 / 0.5232 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1809, allocations: 232.5 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1809, allocations: 15.84 kB / 0.5234 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.181, allocations: 11.98 kB / 0.5234 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.1811, allocations: 4 kB / 0.5234 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.1811, allocations: 11.92 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1812, allocations: 15.98 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1814, allocations: 192 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1814, allocations: 0 / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1817, allocations: 27.94 kB / 0.5236 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 9 * 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.002003/0.1837, allocations: 461.6 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1841, allocations: 79.84 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1841, allocations: 3.938 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1842, allocations: 43.98 kB / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.1847, allocations: 39.75 kB / 0.5242 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.1856, allocations: 287.7 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.1861, allocations: 0.7123 MB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.506e-05/0.1862, allocations: 21.14 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1863, allocations: 27.42 kB / 0.5253 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1863, allocations: 0 / 0.5253 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Templates: time 0.006596/0.1929, allocations: 1.975 MB / 0.5272 GB, free: 11.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.751912772655487]