Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001124/0.001124, 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.005431/0.005431, allocations: 163.1 kB / 24.7 MB, free: 9.43 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.9191/0.9191, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.624e-05, allocations: 7.406 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002072/0.002099, allocations: 1.792 MB / 442.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.003751, allocations: 1.742 MB / 444.5 MB, free: 96 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.003833, allocations: 7.938 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.004115, allocations: 51.58 kB / 444.5 MB, free: 36 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1608/0.1649, allocations: 135.7 kB / 444.6 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1651, allocations: 115.4 kB / 444.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1653, allocations: 212.4 kB / 445 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1654, allocations: 7.125 kB / 445 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.1655, allocations: 113.6 kB / 445.1 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1656, allocations: 65.91 kB / 445.1 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1656, allocations: 8.156 kB / 445.2 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1657, allocations: 113.1 kB / 445.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1658, allocations: 39.62 kB / 445.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1658, allocations: 34.88 kB / 445.3 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.166, allocations: 232.7 kB / 445.6 MB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.166, allocations: 2.688 kB / 445.6 MB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.166, allocations: 0 / 445.6 MB, free: 43.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1661, allocations: 0 / 445.6 MB, free: 43.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004064/0.1665, allocations: 426.6 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.1665, allocations: 8.594 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1665, allocations: 22.23 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1668, allocations: 193.1 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1668, allocations: 5.062 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1668, allocations: 6.391 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1669, allocations: 154.8 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.167, allocations: 3.844 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.167, allocations: 10.34 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.167, allocations: 0.5625 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.167, allocations: 30.42 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.1671, allocations: 162.2 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1673, allocations: 106.9 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.1673, allocations: 36.88 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1673, allocations: 2.969 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.1675, allocations: 111.7 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.1675, allocations: 0 / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002573/0.1677, allocations: 180.2 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1677, allocations: 136.8 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1679, allocations: 248.7 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.1679, allocations: 26.67 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.1679, allocations: 118.7 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.168, allocations: 29.91 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.168, allocations: 37.03 kB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.168, allocations: 327.2 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.1681, allocations: 32.33 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.1681, allocations: 124.2 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.1682, allocations: 94.48 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1682, allocations: 3.094 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001305/0.1683, allocations: 148.2 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1683, allocations: 6.031 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1684, allocations: 0.5625 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1684, allocations: 10.94 kB / 448.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.1684, allocations: 24.39 kB / 448.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1684, allocations: 0 / 448.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1685, allocations: 13.19 kB / 448.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1685, allocations: 6.188 kB / 448.4 MB, free: 41.99 MB / 410.7 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 5.719e-05/0.1685, allocations: 131.1 kB / 448.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1686, allocations: 26.84 kB / 448.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.1687, allocations: 168.4 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1687, allocations: 3.938 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1687, allocations: 3.562 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1687, allocations: 3.031 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.357e-05/0.1688, allocations: 156.6 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1688, allocations: 6.203 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.1688, allocations: 12.47 kB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1688, allocations: 0 / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1688, allocations: 2.719 kB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1688, allocations: 0 / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1688, allocations: 12.83 kB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.169, allocations: 184.9 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.169, allocations: 24.5 kB / 449.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.169, allocations: 0 / 449.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.1691, allocations: 12.91 kB / 449.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.1691, allocations: 10.09 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1691, allocations: 5.906 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.681e-05/0.1692, allocations: 186.4 kB / 449.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1692, allocations: 4.594 kB / 449.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00017/0.1693, allocations: 56.03 kB / 449.3 MB, free: 41.52 MB / 410.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.000694/0.17, allocations: 0.5299 MB / 449.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1702, allocations: 88.19 kB / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1702, allocations: 0 / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.1702, allocations: 41.42 kB / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1704, allocations: 60.31 kB / 450.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.1708, allocations: 321.4 kB / 450.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.784e-05/0.1708, allocations: 116.6 kB / 450.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1709, allocations: 26.94 kB / 450.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1709, allocations: 0 / 450.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of Templates: time 0.002735/0.1736, allocations: 3.272 MB / 453.8 MB, free: 40.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.112274829298258]