Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001642/0.001642, allocations: 116.8 kB / 18.5 MB, free: 4.543 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.001843/0.001843, allocations: 190.9 kB / 21.44 MB, free: 1.605 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.502/1.502, allocations: 225.6 MB / 249.8 MB, free: 3.723 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.24/0.24, allocations: 44.92 MB / 349.6 MB, free: 1.73 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 66.02 kB / 492.4 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.154, allocations: 64.26 MB / 0.5436 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.0037/0.1577, allocations: 1.715 MB / 0.5452 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1602, allocations: 1.491 MB / 0.5467 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1603, allocations: 3.938 kB / 0.5467 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1606, allocations: 35.83 kB / 0.5467 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1609, allocations: 63.69 kB / 0.5468 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1612, allocations: 111.6 kB / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1614, allocations: 91.7 kB / 0.547 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1616, allocations: 12.22 kB / 0.547 GB, free: 80 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1617, allocations: 47.72 kB / 0.5471 GB, free: 32 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1619, allocations: 39.88 kB / 0.5471 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1619, allocations: 4 kB / 0.5471 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.162, allocations: 59.92 kB / 0.5472 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.1621, allocations: 19.92 kB / 0.5472 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.1621, allocations: 35.73 kB / 0.5472 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1624, allocations: 123.5 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1624, allocations: 4 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1624, allocations: 0 / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1624, allocations: 0 / 0.5473 GB, free: 15.75 MB / 414.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.0007018/0.1631, allocations: 402.8 kB / 0.5477 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1631, allocations: 8.031 kB / 0.5477 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1632, allocations: 12.83 kB / 0.5477 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1636, allocations: 208.2 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1636, allocations: 384 / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1636, allocations: 16.05 kB / 0.5479 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1638, allocations: 75.38 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1638, allocations: 4 kB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1638, allocations: 0 / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1638, allocations: 0 / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.1639, allocations: 19.98 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1644, allocations: 280.9 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1646, allocations: 58.62 kB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1646, allocations: 20.84 kB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1646, allocations: 0 / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1648, allocations: 63.39 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1648, allocations: 4 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.1654, allocations: 173.3 kB / 0.5486 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1655, allocations: 85.11 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1656, allocations: 147.7 kB / 0.5488 GB, free: 14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1657, allocations: 29.7 kB / 0.5489 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1657, allocations: 92.14 kB / 0.549 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1657, allocations: 23.84 kB / 0.549 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1658, allocations: 25.66 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1659, allocations: 330.8 kB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.166, allocations: 19.98 kB / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.1661, allocations: 46.5 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1662, allocations: 53.72 kB / 0.5494 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1662, allocations: 0 / 0.5494 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1664, allocations: 110 kB / 0.5495 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1664, allocations: 8 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1664, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1664, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1665, allocations: 19.98 kB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1666, allocations: 7.938 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1666, allocations: 3.938 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1666, allocations: 7.938 kB / 0.5496 GB, free: 13.19 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 (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 0.0001084/0.1667, allocations: 117.8 kB / 0.5497 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1667, allocations: 19.91 kB / 0.5497 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1668, allocations: 12.7 kB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1668, allocations: 4 kB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1668, allocations: 0 / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1668, allocations: 3.938 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.1673, allocations: 383.3 kB / 0.5501 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1673, allocations: 0 / 0.5501 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1673, allocations: 15.98 kB / 0.5501 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1673, allocations: 0 / 0.5501 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1673, allocations: 11.97 kB / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1673, allocations: 0 / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1673, allocations: 0 / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1676, allocations: 204.5 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1676, allocations: 85.06 kB / 0.5504 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1677, allocations: 7.922 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1677, allocations: 8 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1678, allocations: 0 / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1678, allocations: 11.98 kB / 0.5504 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1679, allocations: 117.2 kB / 0.5505 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1679, allocations: 0 / 0.5505 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1682, allocations: 39.81 kB / 0.5506 GB, free: 12.06 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 (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.001836/0.17, allocations: 0.4904 MB / 0.5511 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1702, allocations: 67.89 kB / 0.5511 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1702, allocations: 0 / 0.5511 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.1703, allocations: 27.92 kB / 0.5511 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1707, allocations: 23.98 kB / 0.5512 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1711, allocations: 194.7 kB / 0.5514 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1715, allocations: 0.6964 MB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.1715, allocations: 17.17 kB / 0.5521 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1716, allocations: 27.42 kB / 0.5521 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1716, allocations: 0 / 0.5521 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005428/0.177, allocations: 1.97 MB / 0.554 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.231638057157397]