Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.0008135/0.0008135, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003461/0.003461, allocations: 161.8 kB / 24.7 MB, free: 9.414 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.8681/0.8681, 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.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.2479/0.2479, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.317e-05, allocations: 8.188 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.16/0.1601, allocations: 1.78 MB / 445.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.161, allocations: 1.053 MB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.1611, allocations: 0 / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1614, allocations: 310.6 kB / 446.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1617, allocations: 264.6 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1618, allocations: 106.1 kB / 447 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.162, allocations: 276 kB / 447.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.162, allocations: 7.781 kB / 447.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1621, allocations: 153.3 kB / 447.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1623, allocations: 204.3 kB / 447.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1623, allocations: 8.375 kB / 447.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.1624, allocations: 50.56 kB / 447.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.1624, allocations: 141 kB / 447.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1625, allocations: 77.39 kB / 447.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1627, allocations: 357.1 kB / 448.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1627, allocations: 1.219 kB / 448.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1627, allocations: 0 / 448.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1627, allocations: 0 / 448.3 MB, free: 42.65 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.0005041/0.1632, allocations: 0.6832 MB / 448.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1633, allocations: 12.22 kB / 449 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1633, allocations: 52.88 kB / 449 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1636, allocations: 390.7 kB / 449.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1636, allocations: 3.25 kB / 449.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1637, allocations: 8.062 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1638, allocations: 99.39 kB / 449.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1638, allocations: 3.938 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.1638, allocations: 0 / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1638, allocations: 6.062 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.1639, allocations: 34.83 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1641, allocations: 300.2 kB / 449.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1642, allocations: 108.4 kB / 449.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.1642, allocations: 38.56 kB / 450 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1643, allocations: 6.938 kB / 450 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.1644, allocations: 105.6 kB / 450.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.31e-07/0.1644, allocations: 0 / 450.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002612/0.1646, allocations: 217.4 kB / 450.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1647, allocations: 80.14 kB / 450.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.1652, allocations: 1.061 MB / 451.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1652, allocations: 28.61 kB / 451.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.1653, allocations: 237.7 kB / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1653, allocations: 36.92 kB / 451.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1653, allocations: 26.34 kB / 451.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.1654, allocations: 374.1 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.1654, allocations: 31.86 kB / 452.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.1655, allocations: 62.22 kB / 452.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.1656, allocations: 89.78 kB / 452.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1656, allocations: 2.875 kB / 452.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001406/0.1657, allocations: 179.8 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1657, allocations: 6.875 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1657, allocations: 3.938 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1657, allocations: 2.719 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1658, allocations: 20.08 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1658, allocations: 6.438 kB / 452.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1658, allocations: 18.27 kB / 452.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1658, allocations: 9.688 kB / 452.6 MB, free: 40 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0001039/0.166, allocations: 220.3 kB / 452.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.166, allocations: 57.58 kB / 452.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1662, allocations: 213 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1662, allocations: 0 / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1662, allocations: 2.781 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1662, allocations: 0 / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1663, allocations: 276 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1663, allocations: 0 / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.1663, allocations: 8.75 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1663, allocations: 3.391 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1663, allocations: 3.469 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1663, allocations: 10.84 kB / 453.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1663, allocations: 0 / 453.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.1665, allocations: 220.7 kB / 453.5 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1665, allocations: 65.03 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1666, allocations: 5.469 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.1666, allocations: 9.344 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1666, allocations: 17.38 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1666, allocations: 7 kB / 453.7 MB, free: 39.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003831/0.167, allocations: 0.788 MB / 454.4 MB, free: 39.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.167, allocations: 0 / 454.4 MB, free: 39.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.1672, allocations: 49.97 kB / 454.5 MB, free: 39.09 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.0005946/0.1678, allocations: 450 kB / 454.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1679, allocations: 85.64 kB / 455 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1679, allocations: 2.938 kB / 455 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.168, allocations: 38.34 kB / 455.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1682, allocations: 75.48 kB / 455.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.1689, allocations: 0.9441 MB / 456.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.169, allocations: 243.5 kB / 456.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.169, allocations: 32.8 kB / 456.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.169, allocations: 0 / 456.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003799/0.1728, allocations: 5.367 MB / 461.7 MB, free: 37.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.876904367469251]