Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001074/0.001074, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001427/0.001427, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9391/0.9391, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1404/0.1404, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.31e-05, allocations: 6.312 kB / 299.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002896/0.002919, allocations: 1.727 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1635/0.1664, allocations: 0.793 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1665, allocations: 1.641 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1669, allocations: 54.16 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1671, allocations: 61.97 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1674, allocations: 86.77 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1676, allocations: 105.5 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.1677, allocations: 4.969 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1679, allocations: 53.7 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.1679, allocations: 26.72 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.168, allocations: 4.094 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1681, allocations: 47.44 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.1681, allocations: 30.44 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.1682, allocations: 23.66 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1684, allocations: 109.3 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1684, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1684, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.1684, allocations: 0.6562 kB / 302.3 MB, free: 19.14 MB / 282.7 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.000429/0.1689, allocations: 342.6 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1689, allocations: 9.312 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.169, allocations: 11.98 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1691, allocations: 154.9 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1692, allocations: 5.797 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1692, allocations: 2.906 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1693, allocations: 64.05 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1693, allocations: 3.938 kB / 302.8 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1693, allocations: 1.906 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1694, allocations: 0 / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.1694, allocations: 8.859 kB / 302.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.1696, allocations: 174 kB / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1697, allocations: 89.91 kB / 303.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.1698, allocations: 11.12 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1698, allocations: 6.734 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.801e-05/0.1699, allocations: 64.86 kB / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1699, allocations: 0 / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003562/0.1702, allocations: 113.3 kB / 303.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1702, allocations: 54.58 kB / 303.4 MB, free: 18.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1704, allocations: 207.8 kB / 303.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1704, allocations: 26.86 kB / 303.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.1705, allocations: 96.44 kB / 303.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1705, allocations: 31.39 kB / 303.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1706, allocations: 30.14 kB / 303.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.1706, allocations: 327.1 kB / 304.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1706, allocations: 11.16 kB / 304.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.1707, allocations: 21.78 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.1707, allocations: 43.58 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1707, allocations: 0 / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.1709, allocations: 84.48 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1709, allocations: 6.031 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1709, allocations: 0.8125 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1709, allocations: 1.219 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.171, allocations: 17.62 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.171, allocations: 5 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.171, allocations: 2.969 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.171, allocations: 2.969 kB / 304.3 MB, free: 17.59 MB / 282.7 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 8.278e-05/0.1711, allocations: 117.9 kB / 304.4 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1712, allocations: 17.56 kB / 304.4 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.1713, allocations: 80.58 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1713, allocations: 1.062 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1713, allocations: 0 / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1713, allocations: 3.953 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.1717, allocations: 300.7 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1717, allocations: 0.7031 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.1717, allocations: 9.5 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1717, allocations: 1.781 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1717, allocations: 5 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1717, allocations: 5.094 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1717, allocations: 2.047 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1719, allocations: 219.2 kB / 305 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.1719, allocations: 13.67 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1719, allocations: 3.328 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.172, allocations: 2.109 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.172, allocations: 10.34 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1721, allocations: 3.422 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.98e-05/0.1722, allocations: 72.69 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1722, allocations: 1.094 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.1724, allocations: 30.84 kB / 305.1 MB, free: 16.96 MB / 282.7 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 (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.001649/0.1741, allocations: 0.5701 MB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1742, allocations: 40.88 kB / 305.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.1742, allocations: 1.062 kB / 305.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.1742, allocations: 28.25 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1745, allocations: 39.42 kB / 305.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.175, allocations: 250.2 kB / 306.1 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.175, allocations: 72.06 kB / 306.1 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.1751, allocations: 16.14 kB / 306.1 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.1751, allocations: 74.16 kB / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1751, allocations: 1.125 kB / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005392/0.1805, allocations: 2.019 MB / 308.2 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.124591826926917]