Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001534/0.001534, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.001382/0.001382, allocations: 186 kB / 21.49 MB, free: 0.8242 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.786/1.786, allocations: 207.6 MB / 232.1 MB, free: 3.156 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.3985/0.3985, allocations: 44.23 MB / 328.4 MB, free: 6.266 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [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.002269/0.002269, allocations: 74.11 kB / 465.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1616, allocations: 61 MB / 0.5143 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002841/0.1645, allocations: 1.721 MB / 0.5159 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1657, allocations: 0.8344 MB / 0.5168 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.1658, allocations: 0 / 0.5168 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.1662, allocations: 81.95 kB / 0.5168 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1665, allocations: 73.25 kB / 0.5169 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1668, allocations: 90.73 kB / 0.517 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.167, allocations: 112.1 kB / 0.5171 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1671, allocations: 8.25 kB / 0.5171 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1672, allocations: 61.12 kB / 0.5172 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1673, allocations: 57.14 kB / 0.5172 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1673, allocations: 4.344 kB / 0.5172 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1674, allocations: 46.06 kB / 0.5173 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1675, allocations: 23.92 kB / 0.5173 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.1676, allocations: 36.3 kB / 0.5173 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1678, allocations: 123.4 kB / 0.5174 GB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1678, allocations: 0 / 0.5174 GB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1678, allocations: 0 / 0.5174 GB, free: 9.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1678, allocations: 0 / 0.5174 GB, free: 9.629 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000549/0.1683, allocations: 426.7 kB / 0.5178 GB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1684, allocations: 15.84 kB / 0.5179 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.1684, allocations: 16.84 kB / 0.5179 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1687, allocations: 208.7 kB / 0.5181 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1687, allocations: 384 / 0.5181 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1688, allocations: 12.12 kB / 0.5181 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1689, allocations: 53.61 kB / 0.5181 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1689, allocations: 0 / 0.5181 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1689, allocations: 4 kB / 0.5181 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.169, allocations: 4 kB / 0.5181 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.169, allocations: 19.98 kB / 0.5182 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1694, allocations: 288.8 kB / 0.5184 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1695, allocations: 58.59 kB / 0.5185 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.1696, allocations: 16.86 kB / 0.5185 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1696, allocations: 4 kB / 0.5185 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.1697, allocations: 71.38 kB / 0.5186 GB, free: 8.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1697, allocations: 0 / 0.5186 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.1703, allocations: 185.3 kB / 0.5188 GB, free: 8.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1703, allocations: 51.41 kB / 0.5188 GB, free: 8.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1705, allocations: 223 kB / 0.519 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1705, allocations: 29.7 kB / 0.5191 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.1705, allocations: 108.1 kB / 0.5192 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1705, allocations: 23.8 kB / 0.5192 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1706, allocations: 25.7 kB / 0.5192 GB, free: 7.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.1706, allocations: 330.8 kB / 0.5195 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1707, allocations: 16 kB / 0.5195 GB, free: 7.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.1707, allocations: 37.64 kB / 0.5196 GB, free: 7.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.1708, allocations: 61.7 kB / 0.5196 GB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1708, allocations: 0 / 0.5196 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.171, allocations: 109.5 kB / 0.5197 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.171, allocations: 4 kB / 0.5197 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.171, allocations: 0 / 0.5197 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.171, allocations: 4 kB / 0.5197 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.1711, allocations: 12 kB / 0.5198 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1711, allocations: 160 / 0.5198 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1712, allocations: 15.95 kB / 0.5198 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1712, allocations: 4 kB / 0.5198 GB, free: 7.004 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 (10): * Single equations (assignments): 10 * 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.602e-05/0.1713, allocations: 125.8 kB / 0.5199 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.1713, allocations: 15.94 kB / 0.5199 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1715, allocations: 115 kB / 0.52 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1715, allocations: 0 / 0.52 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1715, allocations: 7.984 kB / 0.52 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1715, allocations: 3.938 kB / 0.52 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1718, allocations: 395.3 kB / 0.5204 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1718, allocations: 0 / 0.5204 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.1718, allocations: 12 kB / 0.5204 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1718, allocations: 0 / 0.5204 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1719, allocations: 7.922 kB / 0.5204 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1719, allocations: 4 kB / 0.5204 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1719, allocations: 3.938 kB / 0.5204 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.172, allocations: 204.3 kB / 0.5206 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.1721, allocations: 85.06 kB / 0.5207 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1721, allocations: 3.938 kB / 0.5207 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.1721, allocations: 4 kB / 0.5207 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1722, allocations: 12.3 kB / 0.5207 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1722, allocations: 4.188 kB / 0.5207 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.076e-05/0.1723, allocations: 159.2 kB / 0.5209 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1723, allocations: 7.938 kB / 0.5209 GB, free: 5.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1725, allocations: 27.92 kB / 0.5209 GB, free: 5.711 MB / 382.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 (8): * Single equations (assignments): 6 * 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.001619/0.1742, allocations: 467 kB / 0.5214 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1743, allocations: 55.97 kB / 0.5214 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1743, allocations: 4 kB / 0.5214 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.1744, allocations: 28.08 kB / 0.5214 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1748, allocations: 31.97 kB / 0.5215 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.1752, allocations: 258.6 kB / 0.5217 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.1754, allocations: 0.7042 MB / 0.5224 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.1754, allocations: 16.88 kB / 0.5224 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1754, allocations: 19.44 kB / 0.5224 GB, free: 4.133 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1754, allocations: 3.938 kB / 0.5225 GB, free: 4.129 MB / 382.1 MB Notification: Performance of Templates: time 0.004688/0.1801, allocations: 1.72 MB / 0.5241 GB, free: 2.418 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.710384825244546]