Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001519/0.001519, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001916/0.001916, allocations: 207.8 kB / 23.74 MB, free: 4.445 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.651/1.651, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.237/0.237, allocations: 44.27 MB / 331.1 MB, free: 9.312 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.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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003538/0.003538, allocations: 76.47 kB / 468.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1611, allocations: 61.05 MB / 0.5174 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003591/0.1647, allocations: 1.684 MB / 0.5191 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1671, allocations: 1.47 MB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.188e-05/0.1672, allocations: 0 / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1675, allocations: 43.77 kB / 0.5206 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.1678, allocations: 59.77 kB / 0.5206 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1681, allocations: 83.7 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1683, allocations: 111.7 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1684, allocations: 8.219 kB / 0.5208 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.1685, allocations: 43.84 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1686, allocations: 35.78 kB / 0.5209 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1686, allocations: 8 kB / 0.5209 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1688, allocations: 67.89 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.1689, allocations: 15.92 kB / 0.521 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.1689, allocations: 31.86 kB / 0.521 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1692, allocations: 139.5 kB / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1692, allocations: 0 / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1692, allocations: 0 / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1692, allocations: 0 / 0.5211 GB, free: 2.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005754/0.1698, allocations: 337.6 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1698, allocations: 8.031 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.1698, allocations: 8.891 kB / 0.5215 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1701, allocations: 150.9 kB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1701, allocations: 3.938 kB / 0.5216 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1702, allocations: 12 kB / 0.5216 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1704, allocations: 105.1 kB / 0.5217 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1704, allocations: 0 / 0.5217 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1704, allocations: 4 kB / 0.5217 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1704, allocations: 0 / 0.5217 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1705, allocations: 31.91 kB / 0.5218 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1709, allocations: 240.5 kB / 0.522 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1711, allocations: 70.66 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.1712, allocations: 28.84 kB / 0.5221 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1712, allocations: 4 kB / 0.5221 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1713, allocations: 71.33 kB / 0.5222 GB, free: 1.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1713, allocations: 4 kB / 0.5222 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006498/0.172, allocations: 221.3 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.172, allocations: 81.09 kB / 0.5225 GB, free: 1.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1722, allocations: 166.4 kB / 0.5226 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1723, allocations: 29.7 kB / 0.5226 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1723, allocations: 96.09 kB / 0.5227 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1724, allocations: 27.84 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1724, allocations: 33.7 kB / 0.5228 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1726, allocations: 314.8 kB / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.1726, allocations: 27.98 kB / 0.5231 GB, free: 0.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1727, allocations: 88.12 kB / 0.5232 GB, free: 492 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1729, allocations: 73.64 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1729, allocations: 0 / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.1731, allocations: 121.5 kB / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1731, allocations: 4 kB / 0.5234 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1731, allocations: 4.062 kB / 0.5234 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1731, allocations: 4 kB / 0.5234 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1733, allocations: 27.86 kB / 0.5234 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1733, allocations: 4 kB / 0.5234 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1733, allocations: 3.938 kB / 0.5234 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1733, allocations: 4 kB / 0.5234 GB, free: 232 kB / 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 (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.0001207/0.1734, allocations: 125.8 kB / 0.5236 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.1735, allocations: 7.953 kB / 0.5236 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.1738, allocations: 138.3 kB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1738, allocations: 11.88 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1738, allocations: 4 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1738, allocations: 4.125 kB / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.1743, allocations: 374.9 kB / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1743, allocations: 0 / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.1744, allocations: 12 kB / 0.5241 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1744, allocations: 3.938 kB / 0.5241 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1744, allocations: 8 kB / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1744, allocations: 0 / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1744, allocations: 0 / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.1747, allocations: 232.3 kB / 0.5243 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.1748, allocations: 15.89 kB / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1748, allocations: 3.984 kB / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1749, allocations: 4 kB / 0.5243 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1749, allocations: 11.98 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1749, allocations: 4 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1751, allocations: 131.9 kB / 0.5245 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1751, allocations: 0 / 0.5245 GB, free: 15.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1753, allocations: 39.86 kB / 0.5245 GB, free: 15.04 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.001967/0.1773, allocations: 0.5242 MB / 0.525 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1775, allocations: 79.89 kB / 0.5251 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1775, allocations: 0 / 0.5251 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.1776, allocations: 31.98 kB / 0.5251 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.178, allocations: 47.64 kB / 0.5252 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.1785, allocations: 252.8 kB / 0.5254 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.1786, allocations: 85.31 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.1786, allocations: 23.56 kB / 0.5255 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1786, allocations: 0 / 0.5255 GB, free: 14 MB / 414.1 MB Notification: Performance of Templates: time 0.004421/0.183, allocations: 2.216 MB / 0.5277 GB, free: 11.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.55006511323154]