Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001031/0.001031, 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.001264/0.001264, allocations: 169 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.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1394/0.1394, allocations: 34.27 MB / 296.1 MB, free: 13.98 MB / 282.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.122e-05, allocations: 2.312 kB / 325.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002762/0.002783, allocations: 1.808 MB / 327.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.004744, allocations: 1.726 MB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.004819, allocations: 11.94 kB / 328.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.005066, allocations: 31.77 kB / 329 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.005363, allocations: 103.4 kB / 329.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.005532, allocations: 83.53 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.005687, allocations: 103.7 kB / 329.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.005765, allocations: 15.97 kB / 329.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.005857, allocations: 55.78 kB / 329.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005958, allocations: 39.89 kB / 329.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.005975, allocations: 4 kB / 329.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.006154, allocations: 107.9 kB / 329.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.006202, allocations: 27.86 kB / 329.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.006237, allocations: 23.92 kB / 329.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.006466, allocations: 159.5 kB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006468, allocations: 0 / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006468, allocations: 4 kB / 329.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.006472, allocations: 0 / 329.7 MB, free: 12.33 MB / 314.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.0003801/0.006852, allocations: 328 kB / 330 MB, free: 11.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006885, allocations: 12.03 kB / 330 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.00692, allocations: 8.922 kB / 330 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.007089, allocations: 144.2 kB / 330.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.007102, allocations: 4.375 kB / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.007119, allocations: 4.375 kB / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.007258, allocations: 108.5 kB / 330.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007269, allocations: 3.984 kB / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007277, allocations: 3.984 kB / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007284, allocations: 4 kB / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.007312, allocations: 6.828 kB / 330.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.007536, allocations: 174 kB / 330.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.007633, allocations: 85.23 kB / 330.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.007656, allocations: 20.78 kB / 330.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.007666, allocations: 0 / 330.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.007767, allocations: 66.2 kB / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007768, allocations: 0 / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003149/0.008083, allocations: 109.5 kB / 330.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.008116, allocations: 77.11 kB / 330.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.008233, allocations: 159.1 kB / 331 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.008248, allocations: 29.7 kB / 331 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.008283, allocations: 96.06 kB / 331.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.00831, allocations: 27.83 kB / 331.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.008347, allocations: 25.72 kB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.008435, allocations: 322.8 kB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.008454, allocations: 6.828 kB / 331.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.008499, allocations: 72.06 kB / 331.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/0.008552, allocations: 44.45 kB / 331.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.008553, allocations: 0 / 331.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.033e-05/0.008643, allocations: 64.44 kB / 331.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.008654, allocations: 8 kB / 331.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.008658, allocations: 4.438 kB / 331.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.00867, allocations: 0 / 331.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.008737, allocations: 19.98 kB / 331.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008741, allocations: 4 kB / 331.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.008775, allocations: 4 kB / 331.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.008782, allocations: 4 kB / 331.7 MB, free: 10.12 MB / 314.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.905e-05/0.008851, allocations: 132.5 kB / 331.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.008866, allocations: 4 kB / 331.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.008975, allocations: 74.58 kB / 331.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008978, allocations: 7.938 kB / 331.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008979, allocations: 4 kB / 331.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.008982, allocations: 0 / 331.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.009227, allocations: 287.4 kB / 332.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009229, allocations: 0 / 332.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.009259, allocations: 15.98 kB / 332.2 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009261, allocations: 0 / 332.2 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.009269, allocations: 4 kB / 332.2 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.009272, allocations: 4 kB / 332.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009273, allocations: 0 / 332.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.009392, allocations: 219 kB / 332.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.009405, allocations: 11.98 kB / 332.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.009423, allocations: 4 kB / 332.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.009484, allocations: 4 kB / 332.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.009511, allocations: 7.984 kB / 332.4 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.009522, allocations: 0 / 332.4 MB, free: 9.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.897e-05/0.009571, allocations: 50.89 kB / 332.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009571, allocations: 0 / 332.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.009814, allocations: 51.81 kB / 332.5 MB, free: 9.188 MB / 314.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.001794/0.01161, allocations: 0.7047 MB / 333.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.01171, allocations: 48.77 kB / 333.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01171, allocations: 0 / 333.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.01175, allocations: 28.78 kB / 333.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01197, allocations: 27.11 kB / 333.3 MB, free: 8.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.01227, allocations: 203.2 kB / 333.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.01231, allocations: 63.34 kB / 333.6 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.01236, allocations: 21.27 kB / 333.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.01246, allocations: 83.28 kB / 333.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01246, allocations: 0 / 333.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of Templates: time 0.005091/0.01755, allocations: 2.771 MB / 336.5 MB, free: 5.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.988735480699688]