Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001332/0.001332, 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.001476/0.001476, 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.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2721/0.2721, allocations: 46.92 MB / 357.8 MB, free: 10.42 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 71.88 kB / 0.4922 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1638, allocations: 65.99 MB / 0.5566 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004133/0.168, allocations: 1.924 MB / 0.5585 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1704, allocations: 1.142 MB / 0.5596 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1706, allocations: 3.938 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1711, allocations: 159.5 kB / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.1717, allocations: 191.2 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1721, allocations: 111.7 kB / 0.5601 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.1726, allocations: 247.3 kB / 0.5603 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1727, allocations: 25.66 kB / 0.5603 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.173, allocations: 111.5 kB / 0.5604 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1732, allocations: 151.4 kB / 0.5606 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1733, allocations: 8 kB / 0.5606 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1735, allocations: 59.98 kB / 0.5606 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-05/0.1736, allocations: 47.83 kB / 0.5607 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1737, allocations: 95.28 kB / 0.5608 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.1741, allocations: 230.9 kB / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1741, allocations: 0 / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1741, allocations: 0 / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1741, allocations: 0 / 0.561 GB, free: 0.8281 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009371/0.175, allocations: 0.5407 MB / 0.5615 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1751, allocations: 8.031 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.1752, allocations: 32.69 kB / 0.5616 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1757, allocations: 283.7 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1757, allocations: 8.375 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1757, allocations: 8.125 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.176, allocations: 109.5 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.176, allocations: 3.938 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.176, allocations: 8 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1761, allocations: 0 / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1762, allocations: 43.95 kB / 0.562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.1769, allocations: 480.7 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1774, allocations: 113.2 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1775, allocations: 45.77 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.1775, allocations: 11.98 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.1778, allocations: 117.2 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.1778, allocations: 0 / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001494/0.1793, allocations: 0.4936 MB / 0.5632 GB, free: 14.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.1793, allocations: 81.09 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.1799, allocations: 375.3 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1799, allocations: 25.7 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.18, allocations: 148.5 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.1801, allocations: 79.33 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.1802, allocations: 45.7 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1804, allocations: 342.8 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1805, allocations: 51.98 kB / 0.5643 GB, free: 13.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1807, allocations: 101.5 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.1811, allocations: 159.5 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1811, allocations: 0 / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004458/0.1815, allocations: 233.3 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1815, allocations: 7.938 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1815, allocations: 4 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1815, allocations: 0 / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1817, allocations: 43.98 kB / 0.5648 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1817, allocations: 64 / 0.5648 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.1818, allocations: 19.86 kB / 0.5649 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1818, allocations: 12 kB / 0.5649 GB, free: 12.57 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001657/0.182, allocations: 149.8 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.1821, allocations: 35.75 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.1821, allocations: 37.81 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1821, allocations: 4 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1822, allocations: 4 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1822, allocations: 0 / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1832, allocations: 0.7233 MB / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1832, allocations: 0 / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.1833, allocations: 31.92 kB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1833, allocations: 4 kB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1833, allocations: 12.11 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1833, allocations: 8 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1833, allocations: 0 / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.1839, allocations: 422.9 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1841, allocations: 104.9 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1841, allocations: 8 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1843, allocations: 11.98 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.1843, allocations: 19.92 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.1844, allocations: 12 kB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.1847, allocations: 277.9 kB / 0.5667 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 0 / 0.5667 GB, free: 10.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.185, allocations: 51.94 kB / 0.5667 GB, free: 10.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002066/0.1871, allocations: 0.5137 MB / 0.5672 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1875, allocations: 150.4 kB / 0.5674 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1875, allocations: 0 / 0.5674 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1877, allocations: 68.23 kB / 0.5674 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.1882, allocations: 68.81 kB / 0.5675 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1894, allocations: 0.5408 MB / 0.568 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.19, allocations: 0.7674 MB / 0.5688 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.19, allocations: 35.42 kB / 0.5688 GB, free: 8.539 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.19, allocations: 0 / 0.5688 GB, free: 8.539 MB / 430.1 MB Notification: Performance of Templates: time 0.006951/0.197, allocations: 3.625 MB / 0.5723 GB, free: 4.934 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.401429949997691]