Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001311/0.001311, allocations: 115 kB / 18.46 MB, free: 4.621 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.001383/0.001383, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2583/0.2583, allocations: 46.93 MB / 357.8 MB, free: 10.33 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.151, allocations: 66 MB / 0.5566 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004211/0.1552, allocations: 1.945 MB / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1574, allocations: 1.07 MB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1576, allocations: 7.938 kB / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.158, allocations: 43.7 kB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1585, allocations: 99.53 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1589, allocations: 95.64 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.1592, allocations: 155.5 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1594, allocations: 13.56 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1595, allocations: 67.69 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1597, allocations: 47.72 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1597, allocations: 8 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1598, allocations: 51.97 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.1599, allocations: 23.86 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.16, allocations: 59.61 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.1604, allocations: 155.3 kB / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1604, allocations: 0 / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1604, allocations: 0 / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1604, allocations: 0 / 0.5603 GB, free: 1.461 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.0008691/0.1612, allocations: 488.1 kB / 0.5608 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1613, allocations: 12.03 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.1614, allocations: 16.84 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1618, allocations: 240.8 kB / 0.561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1618, allocations: 8.359 kB / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1618, allocations: 12.12 kB / 0.5611 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.1621, allocations: 104.2 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1621, allocations: 4 kB / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1621, allocations: 3.938 kB / 0.5612 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1622, allocations: 4 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1623, allocations: 55.89 kB / 0.5612 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.1631, allocations: 0.4971 MB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.1635, allocations: 86.59 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1636, allocations: 36.84 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.1636, allocations: 0 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.1639, allocations: 83.31 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1639, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004621/0.1643, allocations: 141.5 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1644, allocations: 55.34 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.1646, allocations: 202.2 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1647, allocations: 37.64 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1648, allocations: 116 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.1648, allocations: 35.73 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.1649, allocations: 33.72 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.165, allocations: 326.8 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1651, allocations: 27.98 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1652, allocations: 64.41 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1655, allocations: 100.2 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1655, allocations: 0 / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000325/0.1658, allocations: 137.8 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1658, allocations: 10 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1658, allocations: 8 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1658, allocations: 4 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.166, allocations: 27.95 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.166, allocations: 7.938 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.166, allocations: 7.953 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1661, allocations: 7.984 kB / 0.5632 GB, free: 14.23 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.0001353/0.1662, allocations: 129.7 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1662, allocations: 15.91 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.1663, allocations: 25.39 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1663, allocations: 3.938 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1663, allocations: 0 / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1663, allocations: 4 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1665, allocations: 205.6 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1665, allocations: 3.938 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.1666, allocations: 11.98 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1666, allocations: 0 / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1666, allocations: 4 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1666, allocations: 3.938 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1666, allocations: 4 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.1671, allocations: 176.9 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.1671, allocations: 97.03 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1672, allocations: 0 / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.1672, allocations: 7.938 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1673, allocations: 11.97 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.1673, allocations: 12.06 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1675, allocations: 140.4 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1677, allocations: 27.94 kB / 0.564 GB, free: 13.26 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.001641/0.1694, allocations: 422.5 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1696, allocations: 72.09 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1696, allocations: 4.062 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1698, allocations: 39.84 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1701, allocations: 36.05 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.1708, allocations: 304.9 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1712, allocations: 0.7162 MB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.1712, allocations: 19.44 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1712, allocations: 0 / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of Templates: time 0.005554/0.1768, allocations: 2.215 MB / 0.5678 GB, free: 9.559 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.244453895982588]