Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001429/0.001429, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001536/0.001536, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.619/1.619, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2487/0.2487, allocations: 46.93 MB / 357.1 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 72.09 kB / 0.4915 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1552, allocations: 65.99 MB / 0.5559 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003529/0.1587, allocations: 1.835 MB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1615, allocations: 1.707 MB / 0.5594 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1617, allocations: 3.938 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.162, allocations: 47.7 kB / 0.5594 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.1625, allocations: 151.4 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1628, allocations: 103.6 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1631, allocations: 207.3 kB / 0.5599 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.1631, allocations: 13.67 kB / 0.5599 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.1633, allocations: 95.5 kB / 0.56 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1636, allocations: 79.61 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.1636, allocations: 8 kB / 0.5601 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1638, allocations: 119.9 kB / 0.5602 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1639, allocations: 27.91 kB / 0.5602 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.164, allocations: 67.53 kB / 0.5603 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1644, allocations: 235 kB / 0.5605 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1644, allocations: 4 kB / 0.5605 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1644, allocations: 0 / 0.5605 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1644, allocations: 0 / 0.5605 GB, free: 0.5859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008532/0.1652, allocations: 0.4903 MB / 0.561 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1653, allocations: 11.97 kB / 0.561 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.1654, allocations: 16.84 kB / 0.561 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.1658, allocations: 257 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1658, allocations: 12.38 kB / 0.5613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1658, allocations: 8.125 kB / 0.5613 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1661, allocations: 93.08 kB / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1661, allocations: 0 / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1661, allocations: 7.938 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1661, allocations: 0 / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1663, allocations: 27.98 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1666, allocations: 218.5 kB / 0.5616 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1669, allocations: 101.2 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.167, allocations: 45.64 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.1671, allocations: 11.95 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.1673, allocations: 105 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1673, allocations: 0 / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005486/0.1679, allocations: 173.4 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.168, allocations: 128.5 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1683, allocations: 244.1 kB / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1683, allocations: 29.7 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.1684, allocations: 116.1 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1684, allocations: 27.8 kB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1685, allocations: 29.7 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1687, allocations: 330.8 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.1687, allocations: 27.98 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1689, allocations: 77.06 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1691, allocations: 91.89 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1691, allocations: 4 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.1694, allocations: 141.4 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1694, allocations: 4 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1694, allocations: 0 / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.1694, allocations: 4 kB / 0.5632 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1695, allocations: 19.94 kB / 0.5632 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1695, allocations: 7.984 kB / 0.5632 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.1696, allocations: 15.95 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1696, allocations: 8 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001423/0.1698, allocations: 139.9 kB / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.1698, allocations: 15.91 kB / 0.5634 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.1699, allocations: 20.98 kB / 0.5634 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.1699, allocations: 4 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1699, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1699, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1702, allocations: 229.5 kB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1702, allocations: 0 / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1703, allocations: 12 kB / 0.5637 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1703, allocations: 3.984 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1703, allocations: 4 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1703, allocations: 4.125 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1703, allocations: 4 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.1706, allocations: 165.7 kB / 0.5638 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.1707, allocations: 100.9 kB / 0.5639 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1707, allocations: 8 kB / 0.5639 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.1708, allocations: 4 kB / 0.5639 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1709, allocations: 11.98 kB / 0.564 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1709, allocations: 4 kB / 0.564 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1712, allocations: 181.6 kB / 0.5641 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1712, allocations: 0 / 0.5641 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1715, allocations: 47.94 kB / 0.5642 GB, free: 12.4 MB / 430.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001804/0.1733, allocations: 0.5135 MB / 0.5647 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1736, allocations: 75.89 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1736, allocations: 0 / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1737, allocations: 35.92 kB / 0.5648 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1741, allocations: 56.56 kB / 0.5648 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1747, allocations: 287.6 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1751, allocations: 0.7243 MB / 0.5658 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.1752, allocations: 38.02 kB / 0.5659 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.1753, allocations: 27.42 kB / 0.5659 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1753, allocations: 4 kB / 0.5659 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Templates: time 0.009006/0.1843, allocations: 3.132 MB / 0.5689 GB, free: 7.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.447001922875643]