Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008248/0.0008248, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00368/0.00368, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8335/0.8335, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2269/0.2269, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.959e-05, allocations: 2.281 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.1698/0.1698, allocations: 1.67 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.1707, allocations: 0.9575 MB / 446.1 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.1708, allocations: 0 / 446.1 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.171, allocations: 68.11 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1713, allocations: 104.3 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.1714, allocations: 79.67 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1715, allocations: 114.9 kB / 446.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1715, allocations: 6.516 kB / 446.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.1716, allocations: 46.83 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.1717, allocations: 46.11 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1717, allocations: 2.844 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.1718, allocations: 39.41 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1718, allocations: 24.14 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1718, allocations: 21.05 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.172, allocations: 105.8 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.172, allocations: 0 / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.172, allocations: 0 / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.172, allocations: 0 / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003401/0.1723, allocations: 339 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1724, allocations: 13.27 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.1724, allocations: 17.75 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1726, allocations: 139 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1726, allocations: 6.125 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.1726, allocations: 384 / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.1727, allocations: 58.23 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1727, allocations: 3.938 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.1727, allocations: 0 / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1727, allocations: 5.406 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.1727, allocations: 15.97 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.1728, allocations: 124.9 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.1729, allocations: 55.19 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.173, allocations: 20.72 kB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.173, allocations: 0.5 kB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.937e-05/0.1731, allocations: 73.06 kB / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1731, allocations: 0 / 447.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000171/0.1732, allocations: 103.6 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.1733, allocations: 54.22 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.1734, allocations: 193.7 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.1734, allocations: 28.27 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.1734, allocations: 108.8 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1734, allocations: 15.84 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.1734, allocations: 22.25 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.9e-05/0.1735, allocations: 327.4 kB / 448.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.1735, allocations: 15.52 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.778e-05/0.1735, allocations: 31.84 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.1736, allocations: 45.16 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1736, allocations: 1.75 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8e-05/0.1736, allocations: 87.02 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1737, allocations: 7.062 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1737, allocations: 3.938 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1737, allocations: 0 / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.1737, allocations: 10.59 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1737, allocations: 0 / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.1738, allocations: 9.906 kB / 448.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1738, allocations: 6.312 kB / 448.7 MB, free: 41.51 MB / 410.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 (7): * Single equations (assignments): 7 * 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 5.058e-05/0.1738, allocations: 129.9 kB / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1738, allocations: 12.62 kB / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1739, allocations: 107 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1739, allocations: 2.594 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1739, allocations: 0 / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1739, allocations: 0 / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.53e-05/0.174, allocations: 128 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.174, allocations: 0 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.174, allocations: 5.031 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.174, allocations: 0 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.174, allocations: 2.812 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.174, allocations: 3.938 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.174, allocations: 4 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.461e-05/0.1741, allocations: 120.3 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.1741, allocations: 10.83 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1741, allocations: 2.75 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.1741, allocations: 7.312 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1742, allocations: 2.594 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1742, allocations: 2.5 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.1742, allocations: 155.5 kB / 449.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1742, allocations: 0 / 449.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.1744, allocations: 22.56 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006472/0.175, allocations: 453.1 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1751, allocations: 42.42 kB / 449.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1751, allocations: 0 / 449.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.1752, allocations: 21.38 kB / 449.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.1753, allocations: 27.67 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.1756, allocations: 237.1 kB / 450.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.1757, allocations: 98.5 kB / 450.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.1757, allocations: 14.22 kB / 450.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1757, allocations: 0 / 450.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.002026/0.1777, allocations: 1.772 MB / 452 MB, free: 40.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 4.9054049346596]