Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001963/0.001963, allocations: 119.7 kB / 18.5 MB, free: 4.516 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.002074/0.002074, allocations: 190 kB / 21.44 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.92 MB / 349.6 MB, free: 1.699 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 70.25 kB / 492.4 MB, free: 29.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 64.25 MB / 0.5436 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003224/0.1641, allocations: 1.734 MB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1657, allocations: 0.8846 MB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.1658, allocations: 0 / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1662, allocations: 103.6 kB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1664, allocations: 79.72 kB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1668, allocations: 115.5 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.167, allocations: 111.7 kB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1671, allocations: 11.97 kB / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1672, allocations: 55.77 kB / 0.5466 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1674, allocations: 79.67 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1674, allocations: 4 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1675, allocations: 59.97 kB / 0.5467 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.1676, allocations: 23.92 kB / 0.5468 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1676, allocations: 39.67 kB / 0.5468 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1679, allocations: 135.4 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1679, allocations: 0 / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1679, allocations: 0 / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1679, allocations: 0 / 0.5469 GB, free: 68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007893/0.1687, allocations: 450.4 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1687, allocations: 11.97 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.1688, allocations: 8.891 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1691, allocations: 220.1 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1691, allocations: 4.375 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1692, allocations: 8.125 kB / 0.5476 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1693, allocations: 57.67 kB / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1694, allocations: 0 / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1694, allocations: 0 / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1694, allocations: 0 / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1695, allocations: 23.92 kB / 0.5477 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1699, allocations: 304.8 kB / 0.548 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1702, allocations: 58.55 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.1703, allocations: 28.97 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1703, allocations: 3.938 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1704, allocations: 71.45 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1704, allocations: 4 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008251/0.1713, allocations: 249.6 kB / 0.5484 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1713, allocations: 55.34 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1716, allocations: 219.5 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1716, allocations: 29.7 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.1717, allocations: 104.1 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1717, allocations: 43.69 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1717, allocations: 25.72 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1719, allocations: 326.8 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.172, allocations: 27.98 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.172, allocations: 45.64 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1722, allocations: 77.7 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1722, allocations: 0 / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002322/0.1724, allocations: 137.5 kB / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1724, allocations: 8 kB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1724, allocations: 0 / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1725, allocations: 0 / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.1725, allocations: 19.98 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1726, allocations: 7.938 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1726, allocations: 4 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1726, allocations: 4 kB / 0.5494 GB, free: 13.24 MB / 414.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.0001245/0.1727, allocations: 144.4 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1728, allocations: 11.95 kB / 0.5496 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.1728, allocations: 21.39 kB / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1728, allocations: 0 / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1728, allocations: 3.938 kB / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1728, allocations: 0 / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.1734, allocations: 459.9 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1734, allocations: 8.047 kB / 0.5501 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.1734, allocations: 12 kB / 0.5501 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1734, allocations: 0 / 0.5501 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1735, allocations: 4 kB / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1735, allocations: 0 / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1735, allocations: 0 / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1738, allocations: 245 kB / 0.5503 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.1738, allocations: 97.02 kB / 0.5504 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1739, allocations: 0 / 0.5504 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1739, allocations: 7.984 kB / 0.5504 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.174, allocations: 11.98 kB / 0.5504 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.174, allocations: 4 kB / 0.5504 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1742, allocations: 171.5 kB / 0.5506 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 0 / 0.5506 GB, free: 11.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1745, allocations: 31.94 kB / 0.5506 GB, free: 11.91 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: 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.002136/0.1766, allocations: 0.5073 MB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1768, allocations: 79.84 kB / 0.5512 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1768, allocations: 0 / 0.5512 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.1769, allocations: 35.92 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1773, allocations: 35.91 kB / 0.5513 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.1778, allocations: 284.7 kB / 0.5515 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1782, allocations: 0.7193 MB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.1783, allocations: 28.62 kB / 0.5523 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.1783, allocations: 15.44 kB / 0.5523 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1783, allocations: 0 / 0.5523 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005448/0.1838, allocations: 1.98 MB / 0.5542 GB, free: 8.398 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.408132934011519]