Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 72.89 kB / 21.49 MB, free: 2.836 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.001219/0.001219, allocations: 170.2 kB / 24.91 MB, free: 9.254 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.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.2933/0.2933, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.5e-05, allocations: 11.56 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00275/0.002775, allocations: 2.277 MB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.0045, allocations: 1.313 MB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004605, allocations: 7.938 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.004987, allocations: 131.3 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.005402, allocations: 270.6 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.005692, allocations: 195.5 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.006121, allocations: 474.9 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.006254, allocations: 49.23 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.006555, allocations: 363.1 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.006704, allocations: 143.5 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.006732, allocations: 16 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.006846, allocations: 75.86 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.00696, allocations: 163.4 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.007039, allocations: 107.4 kB / 331 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.007375, allocations: 374.3 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.007379, allocations: 4 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00738, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007386, allocations: 0 / 331.3 MB, free: 1.59 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006852/0.008071, allocations: 0.7988 MB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.008107, allocations: 12.03 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.008165, allocations: 40.89 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.008493, allocations: 362.3 kB / 332.5 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.008518, allocations: 8.375 kB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.008546, allocations: 24.36 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.008765, allocations: 173 kB / 332.7 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.008782, allocations: 7.891 kB / 332.7 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.008796, allocations: 8 kB / 332.7 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.008803, allocations: 4 kB / 332.7 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.008871, allocations: 59.2 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.009341, allocations: 0.5495 MB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.009671, allocations: 381.5 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.009731, allocations: 51.55 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.009748, allocations: 8 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.00994, allocations: 172.2 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.303e-06/0.009941, allocations: 0 / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009734/0.01091, allocations: 0.6187 MB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.01097, allocations: 132.5 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.01138, allocations: 0.6578 MB / 335.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.01141, allocations: 37.7 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.01149, allocations: 162.9 kB / 335.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.01157, allocations: 146.8 kB / 335.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.01164, allocations: 78.11 kB / 335.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01174, allocations: 329.9 kB / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.0118, allocations: 47.75 kB / 336.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.01189, allocations: 115.8 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.01206, allocations: 202.8 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01206, allocations: 4 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002524/0.01231, allocations: 254.5 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01233, allocations: 4 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01234, allocations: 4 kB / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.01236, allocations: 4 kB / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.01253, allocations: 87.89 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01254, allocations: 7.938 kB / 336.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.01261, allocations: 19.98 kB / 336.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01263, allocations: 8 kB / 336.8 MB, free: 11.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001277/0.01276, allocations: 159.1 kB / 337 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.01281, allocations: 55.89 kB / 337 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.01312, allocations: 306.6 kB / 337.3 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01313, allocations: 4 kB / 337.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01313, allocations: 0 / 337.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.01314, allocations: 4 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.0139, allocations: 1.057 MB / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.0139, allocations: 4 kB / 338.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01401, allocations: 63.91 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.01402, allocations: 7.938 kB / 338.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01404, allocations: 19.98 kB / 338.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01404, allocations: 4 kB / 338.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01405, allocations: 4 kB / 338.5 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.01443, allocations: 0.7634 MB / 339.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.01453, allocations: 99.38 kB / 339.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.01457, allocations: 19.92 kB / 339.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.01472, allocations: 19.98 kB / 339.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.01478, allocations: 35.94 kB / 339.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.01481, allocations: 19.98 kB / 339.5 MB, free: 9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.01505, allocations: 347.4 kB / 339.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01505, allocations: 0 / 339.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.01537, allocations: 91.88 kB / 339.9 MB, free: 8.574 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001489/0.01686, allocations: 0.681 MB / 340.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.01711, allocations: 201 kB / 340.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.01712, allocations: 8 kB / 340.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01723, allocations: 118.3 kB / 340.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.01776, allocations: 142.4 kB / 341 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.01876, allocations: 0.9851 MB / 342 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.01888, allocations: 158.2 kB / 342.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.019, allocations: 75.25 kB / 342.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.01917, allocations: 139.3 kB / 342.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01917, allocations: 0 / 342.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of Templates: time 0.008615/0.02779, allocations: 6.335 MB / 348.7 MB, free: 108 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.1711417138576508]