Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001402/0.001402, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001634/0.001634, allocations: 171.3 kB / 24.91 MB, free: 9.207 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.2971/0.2971, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.259e-05, allocations: 3.516 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003761/0.003783, allocations: 2.095 MB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.005694, allocations: 1.092 MB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.005832, allocations: 3.938 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.006168, allocations: 51.58 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.006551, allocations: 107.3 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.006876, allocations: 123.5 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.007202, allocations: 211.8 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.007319, allocations: 26.38 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.007518, allocations: 107.8 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.007644, allocations: 55.81 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.007673, allocations: 15.94 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007794, allocations: 51.97 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.007863, allocations: 43.78 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.007936, allocations: 47.84 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.008265, allocations: 167.4 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.00827, allocations: 4 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008271, allocations: 0 / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.008276, allocations: 3.938 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007493/0.009025, allocations: 468.5 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.009071, allocations: 8.031 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.009132, allocations: 16.92 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.009421, allocations: 173.4 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.009442, allocations: 8.375 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.009473, allocations: 16.25 kB / 330.2 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.00975, allocations: 161.2 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009762, allocations: 3.938 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.009776, allocations: 4 kB / 330.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.009784, allocations: 4 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.009861, allocations: 30.73 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.01036, allocations: 386 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.01061, allocations: 113.3 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.01066, allocations: 28.84 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01067, allocations: 0 / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01086, allocations: 116.8 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.01086, allocations: 0 / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002152/0.01108, allocations: 104.7 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.01112, allocations: 55.41 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.01132, allocations: 209.1 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01134, allocations: 33.7 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.01143, allocations: 112.8 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.01147, allocations: 39.86 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.01153, allocations: 33.7 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01167, allocations: 338.7 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.01174, allocations: 44.52 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.01183, allocations: 88.66 kB / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01196, allocations: 114.3 kB / 332.2 MB, free: 468 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01196, allocations: 0 / 332.2 MB, free: 468 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002117/0.01217, allocations: 159.8 kB / 332.4 MB, free: 288 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.01222, allocations: 33.7 kB / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01222, allocations: 7.938 kB / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01224, allocations: 0 / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.0124, allocations: 31.98 kB / 332.4 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.0124, allocations: 8.109 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01251, allocations: 31.88 kB / 332.5 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01253, allocations: 4 kB / 332.5 MB, free: 164 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.819e-05/0.01262, allocations: 125 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01265, allocations: 15.98 kB / 332.6 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.01284, allocations: 95.11 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01285, allocations: 4 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01285, allocations: 0 / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01286, allocations: 3.984 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01307, allocations: 117.7 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01307, allocations: 3.938 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.01318, allocations: 23.92 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01318, allocations: 0 / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01319, allocations: 3.938 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.0132, allocations: 7.984 kB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0132, allocations: 0 / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.01342, allocations: 128.9 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01344, allocations: 15.84 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.01347, allocations: 7.984 kB / 333 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.01356, allocations: 20.02 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.01362, allocations: 15.97 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01364, allocations: 4 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.01373, allocations: 78.17 kB / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01373, allocations: 0 / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.01397, allocations: 39.89 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001684/0.01565, allocations: 0.5102 MB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01588, allocations: 149.9 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.01589, allocations: 0 / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.01597, allocations: 40.77 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01621, allocations: 63.19 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.01679, allocations: 299.2 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.01684, allocations: 71.98 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.01693, allocations: 25.73 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.01709, allocations: 95.28 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.183e-06/0.01709, allocations: 0 / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Templates: time 0.005244/0.02233, allocations: 3.198 MB / 337.6 MB, free: 11.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.0555361271835864]