Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.00131/0.00131, 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.001385/0.001385, allocations: 169.5 kB / 24.91 MB, free: 9.152 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2767/0.2767, allocations: 32.8 MB / 294.6 MB, free: 1.27 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.013e-05, allocations: 2.312 kB / 323.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003995/0.004025, allocations: 1.976 MB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.005535, allocations: 1.111 MB / 326.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.005641, allocations: 4 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.006021, allocations: 155.3 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.006412, allocations: 191.2 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.006685, allocations: 119.5 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.006965, allocations: 255.2 kB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.007065, allocations: 15.25 kB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.007253, allocations: 143.5 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.007398, allocations: 111.7 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.007417, allocations: 8 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.007534, allocations: 67.91 kB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.007598, allocations: 59.77 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.007644, allocations: 43.8 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.007874, allocations: 183.3 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.007877, allocations: 3.984 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007878, allocations: 0 / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.007887, allocations: 0 / 327.8 MB, free: 5.137 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004568/0.008344, allocations: 448.3 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.008374, allocations: 12.03 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.008418, allocations: 24.91 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.008628, allocations: 209.8 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.008644, allocations: 4.375 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.008664, allocations: 12.38 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.008804, allocations: 107.4 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.008813, allocations: 3.938 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.008823, allocations: 11.98 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.008828, allocations: 0 / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.008874, allocations: 33.56 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.009172, allocations: 292.9 kB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.009365, allocations: 186.6 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.009399, allocations: 37.89 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.009413, allocations: 4 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.009529, allocations: 107.8 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.00953, allocations: 0 / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005956/0.01013, allocations: 311.9 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.01016, allocations: 85.05 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01034, allocations: 296.6 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01036, allocations: 29.7 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.0104, allocations: 113.2 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.01045, allocations: 71.42 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.0105, allocations: 37.69 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.01058, allocations: 350.7 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.01062, allocations: 22.83 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.01066, allocations: 59.39 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.01076, allocations: 102.4 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01076, allocations: 7.984 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001488/0.01091, allocations: 127.2 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01092, allocations: 7.938 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01093, allocations: 0 / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01094, allocations: 4 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.01103, allocations: 43.97 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01104, allocations: 4.234 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.01108, allocations: 11.94 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01109, allocations: 11.94 kB / 330.9 MB, free: 1.773 MB / 298.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.281e-05/0.01118, allocations: 132.6 kB / 331 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.0112, allocations: 23.98 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.01139, allocations: 161.6 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01139, allocations: 4 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01139, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.0114, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.0118, allocations: 0.5516 MB / 331.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01181, allocations: 8.062 kB / 331.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.01187, allocations: 35.98 kB / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01187, allocations: 7.875 kB / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01188, allocations: 7.984 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01189, allocations: 4 kB / 331.8 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01189, allocations: 3.938 kB / 331.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.0121, allocations: 408.1 kB / 332.2 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01212, allocations: 27.75 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01215, allocations: 11.98 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.01222, allocations: 4 kB / 332.3 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.01227, allocations: 27.91 kB / 332.3 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.01229, allocations: 8 kB / 332.3 MB, free: 284 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.941e-05/0.01239, allocations: 123.4 kB / 332.4 MB, free: 160 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01239, allocations: 0 / 332.4 MB, free: 160 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.01261, allocations: 51.94 kB / 332.5 MB, free: 108 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001391/0.01401, allocations: 0.6687 MB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01416, allocations: 104.8 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.01417, allocations: 4 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.01423, allocations: 56.7 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01452, allocations: 67.7 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.01502, allocations: 457.6 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.01508, allocations: 96.31 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.01516, allocations: 38.3 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01526, allocations: 91.36 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01526, allocations: 3.938 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005302/0.02056, allocations: 3.632 MB / 337.7 MB, free: 11.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.0115821990184486]