Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001758/0.001758, allocations: 116 kB / 18.45 MB, free: 4.605 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.002299/0.002299, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.714/1.714, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2774/0.2774, allocations: 46.91 MB / 357.8 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1505, allocations: 66.01 MB / 0.5566 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004229/0.1548, allocations: 1.937 MB / 0.5585 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.157, allocations: 1.07 MB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1572, allocations: 3.938 kB / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1576, allocations: 47.7 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.1582, allocations: 103.5 kB / 0.5597 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1585, allocations: 87.66 kB / 0.5598 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1588, allocations: 151.5 kB / 0.5599 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.159, allocations: 21.55 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1591, allocations: 59.72 kB / 0.56 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1592, allocations: 51.64 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1593, allocations: 12 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1594, allocations: 47.98 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.1595, allocations: 31.83 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.1596, allocations: 47.69 kB / 0.5602 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.16, allocations: 155.3 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.16, allocations: 0 / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.16, allocations: 0 / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.16, allocations: 0 / 0.5603 GB, free: 1.508 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009186/0.1609, allocations: 0.4884 MB / 0.5608 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.161, allocations: 8.031 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.1611, allocations: 20.84 kB / 0.5608 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.1615, allocations: 240.7 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1615, allocations: 4.375 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1616, allocations: 16.11 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.1619, allocations: 104.2 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1619, allocations: 3.938 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.1619, allocations: 8 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1619, allocations: 0 / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.1621, allocations: 51.91 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.1628, allocations: 0.5088 MB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.1632, allocations: 74.67 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1633, allocations: 36.83 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1634, allocations: 4 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.1636, allocations: 87.31 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1636, allocations: 0 / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004689/0.164, allocations: 145.5 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1641, allocations: 55.34 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1643, allocations: 198.3 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1644, allocations: 25.7 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.1644, allocations: 128 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1645, allocations: 27.75 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1645, allocations: 29.7 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1647, allocations: 326.8 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.1648, allocations: 23.98 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1649, allocations: 72.39 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.1651, allocations: 112.4 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1651, allocations: 0 / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000322/0.1655, allocations: 141.4 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1655, allocations: 8 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1655, allocations: 0 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1655, allocations: 0 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1656, allocations: 27.92 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1656, allocations: 0 / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.1657, allocations: 15.95 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1657, allocations: 4 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001443/0.1659, allocations: 139.9 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1659, allocations: 15.91 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.166, allocations: 13.41 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.166, allocations: 3.938 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.166, allocations: 0 / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.166, allocations: 3.984 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1662, allocations: 213.5 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1662, allocations: 0 / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.1663, allocations: 8 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1663, allocations: 0 / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1663, allocations: 19.98 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1663, allocations: 3.938 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1663, allocations: 3.938 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.1667, allocations: 176.9 kB / 0.5638 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.1668, allocations: 89.23 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1668, allocations: 0 / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1669, allocations: 19.92 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.167, allocations: 11.98 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.167, allocations: 7.984 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1672, allocations: 144.4 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1672, allocations: 0 / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1675, allocations: 27.94 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001635/0.1691, allocations: 399 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1694, allocations: 91.77 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1694, allocations: 3.938 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1695, allocations: 31.98 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1699, allocations: 43.5 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.1706, allocations: 296.9 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.171, allocations: 0.7204 MB / 0.5656 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1711, allocations: 19.42 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1711, allocations: 0 / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Templates: time 0.005474/0.1765, allocations: 2.214 MB / 0.5678 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.523938280995935]