Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009359/0.0009359, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001062/0.001062, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.3525/0.3525, allocations: 32.81 MB / 294.6 MB, free: 1.199 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 323.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.313e-05, allocations: 2.969 kB / 323.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002393/0.002416, allocations: 1.801 MB / 325.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004277, allocations: 1.742 MB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.004356, allocations: 4 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.00463, allocations: 35.77 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.00494, allocations: 100.2 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.005135, allocations: 79.61 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.005302, allocations: 107.6 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.005391, allocations: 9.359 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.005489, allocations: 59.83 kB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005601, allocations: 35.89 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.005619, allocations: 8 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.005812, allocations: 115.7 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.00586, allocations: 15.94 kB / 327.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.005896, allocations: 19.92 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.006137, allocations: 155.5 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006139, allocations: 0 / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00614, allocations: 7.938 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.006143, allocations: 0 / 327.6 MB, free: 5.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003735/0.006517, allocations: 333.3 kB / 328 MB, free: 4.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.006549, allocations: 12.03 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.006582, allocations: 4.938 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.006737, allocations: 150.2 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.00675, allocations: 384 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.006767, allocations: 4.375 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.006898, allocations: 112.5 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006907, allocations: 0 / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.006914, allocations: 0 / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.00692, allocations: 4 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.006946, allocations: 10.81 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.007149, allocations: 174 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.007237, allocations: 85.3 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.007257, allocations: 12.8 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.007268, allocations: 0 / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/0.007349, allocations: 74.12 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.00735, allocations: 0 / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002744/0.007624, allocations: 113.5 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.007658, allocations: 77.11 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007763, allocations: 167.5 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.007779, allocations: 25.7 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.007813, allocations: 96.11 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.007844, allocations: 27.75 kB / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.007879, allocations: 29.69 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.007961, allocations: 322.8 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.007975, allocations: 6.828 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.008015, allocations: 60.25 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.008059, allocations: 44.41 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008061, allocations: 0 / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.85e-05/0.008139, allocations: 72.42 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.008151, allocations: 8.062 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.008156, allocations: 3.938 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.008168, allocations: 0 / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.008233, allocations: 23.98 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.008237, allocations: 0 / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.008264, allocations: 0 / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.00827, allocations: 4.375 kB / 329.6 MB, free: 3.078 MB / 298.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 6.788e-05/0.008338, allocations: 120.6 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.00835, allocations: 11.92 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.008452, allocations: 74.44 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.008456, allocations: 8 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008459, allocations: 4 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008462, allocations: 0 / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.008683, allocations: 283.4 kB / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008686, allocations: 4 kB / 330.1 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.008714, allocations: 19.92 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008716, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.008722, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008724, allocations: 4 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.008726, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.008852, allocations: 219 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.008868, allocations: 15.92 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.008884, allocations: 4 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.008924, allocations: 4 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.00895, allocations: 7.984 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.008961, allocations: 4 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.008999, allocations: 42.09 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008999, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009165, allocations: 47.86 kB / 330.5 MB, free: 2.152 MB / 298.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.001487/0.01065, allocations: 0.7132 MB / 331.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.01076, allocations: 48.77 kB / 331.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01076, allocations: 0 / 331.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.01079, allocations: 28.94 kB / 331.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01096, allocations: 40.2 kB / 331.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.01125, allocations: 191.7 kB / 331.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.01129, allocations: 67.34 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.041e-05/0.01133, allocations: 12.97 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.01141, allocations: 79.34 kB / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01141, allocations: 0 / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of Templates: time 0.004067/0.01548, allocations: 2.773 MB / 334.4 MB, free: 14.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.3570043980143964]