Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001027/0.001027, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001009/0.001009, allocations: 174.1 kB / 24.91 MB, free: 9.191 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.9414/0.9414, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2811/0.2811, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.979e-05, allocations: 2.312 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002513/0.002543, allocations: 1.768 MB / 325.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003851, allocations: 1.009 MB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.003927, allocations: 4 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.004248, allocations: 91.56 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.004618, allocations: 115.5 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.004834, allocations: 87.55 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.005026, allocations: 119.6 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.005138, allocations: 20.58 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.00523, allocations: 63.77 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.005321, allocations: 51.88 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.005335, allocations: 8 kB / 326.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.005431, allocations: 63.91 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.005478, allocations: 23.92 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.005513, allocations: 23.86 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.005698, allocations: 115.6 kB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005701, allocations: 0 / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005702, allocations: 0 / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005707, allocations: 0 / 326.9 MB, free: 6.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005857/0.006292, allocations: 345.1 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006333, allocations: 12.03 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.006371, allocations: 20.91 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.006544, allocations: 149.6 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006559, allocations: 4.375 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.006578, allocations: 384 / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.006693, allocations: 69.75 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006703, allocations: 3.938 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.00671, allocations: 0 / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.006715, allocations: 4 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.006739, allocations: 15.92 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.006968, allocations: 173.9 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.007117, allocations: 97.34 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.007137, allocations: 16.98 kB / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.007149, allocations: 0 / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/0.007232, allocations: 66.09 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.007233, allocations: 0 / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004057/0.007638, allocations: 182.2 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.007669, allocations: 51.41 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.007775, allocations: 185.1 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.007791, allocations: 33.7 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.007827, allocations: 92.11 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.007858, allocations: 39.67 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.007893, allocations: 29.69 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.007973, allocations: 330.8 kB / 328.8 MB, free: 4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.007996, allocations: 14.83 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.008024, allocations: 29.64 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.008077, allocations: 53.42 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008079, allocations: 0 / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.826e-05/0.008167, allocations: 80.44 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008181, allocations: 8 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008186, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.0082, allocations: 3.938 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.008254, allocations: 19.98 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.008257, allocations: 0 / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.008287, allocations: 8 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008295, allocations: 4 kB / 329 MB, free: 3.762 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 (13): * Single equations (assignments): 13 * 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 7.502e-05/0.00837, allocations: 126.6 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.008385, allocations: 8 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.008518, allocations: 101.6 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008521, allocations: 0 / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.008523, allocations: 0 / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008527, allocations: 0 / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.008805, allocations: 332.2 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.008809, allocations: 3.984 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.008839, allocations: 12 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008842, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.008852, allocations: 8 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.008854, allocations: 4.062 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008856, allocations: 3.938 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.008981, allocations: 231.8 kB / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.008997, allocations: 15.91 kB / 329.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.009015, allocations: 7.984 kB / 329.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.009054, allocations: 4 kB / 329.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.009081, allocations: 11.97 kB / 329.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.009095, allocations: 11.94 kB / 329.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.009143, allocations: 61.55 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009143, allocations: 3.938 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.009303, allocations: 35.92 kB / 329.9 MB, free: 2.727 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001319/0.01062, allocations: 0.6499 MB / 330.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.01074, allocations: 52.77 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01074, allocations: 3.938 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.01078, allocations: 28.8 kB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01096, allocations: 28.16 kB / 330.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.01132, allocations: 268.1 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.01136, allocations: 71.33 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.01141, allocations: 16.64 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.01148, allocations: 75.36 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01148, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of Templates: time 0.003906/0.01538, allocations: 2.303 MB / 333.4 MB, free: 15.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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: 2.86277307709679]