Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00133/0.00133, 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.001628/0.001628, allocations: 174.3 kB / 24.91 MB, free: 8.773 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.113/1.113, allocations: 177.1 MB / 205.3 MB, free: 5.055 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.2872/0.2872, allocations: 32.8 MB / 294.6 MB, free: 1.125 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.919e-05, allocations: 5.578 kB / 323.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002547/0.002566, allocations: 2.274 MB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.00427, allocations: 1.321 MB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004387, allocations: 3.938 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.004697, allocations: 135.2 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.00511, allocations: 270.7 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.005419, allocations: 191.5 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.005848, allocations: 478.4 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.005962, allocations: 53.16 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.006283, allocations: 359.1 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.006427, allocations: 143.5 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.006454, allocations: 20 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00657, allocations: 71.92 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.006964, allocations: 167.3 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.00704, allocations: 103.5 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.007345, allocations: 370.3 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.007347, allocations: 4 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007347, allocations: 0 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.007353, allocations: 0 / 329.3 MB, free: 3.594 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.0006062/0.007959, allocations: 0.7947 MB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.007989, allocations: 8.031 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.008048, allocations: 56.88 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.008337, allocations: 354.3 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.008358, allocations: 16.31 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.008382, allocations: 12.38 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.008568, allocations: 181 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.008582, allocations: 7.891 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.008593, allocations: 4 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.008598, allocations: 0 / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.008667, allocations: 67.19 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.009097, allocations: 0.5495 MB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.009378, allocations: 373.3 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.009438, allocations: 59.59 kB / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.009453, allocations: 7.984 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.009611, allocations: 172.3 kB / 331.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.009613, allocations: 0 / 331.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008625/0.01048, allocations: 0.6103 MB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.01054, allocations: 132.5 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.01093, allocations: 0.6539 MB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.01096, allocations: 49.69 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.01103, allocations: 158.9 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.01111, allocations: 146.8 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.01118, allocations: 78.11 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.01126, allocations: 321.9 kB / 334.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.01131, allocations: 47.8 kB / 334.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.0114, allocations: 123.7 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.01157, allocations: 208.1 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.01157, allocations: 0 / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002376/0.0118, allocations: 253.5 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01182, allocations: 11.98 kB / 334.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01182, allocations: 0 / 334.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01184, allocations: 4 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01199, allocations: 83.89 kB / 334.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.012, allocations: 8.359 kB / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.01207, allocations: 16 kB / 334.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01209, allocations: 15.98 kB / 334.8 MB, free: 13.74 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.0001103/0.0122, allocations: 150.9 kB / 335 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.01225, allocations: 59.88 kB / 335 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.01255, allocations: 295.2 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.01256, allocations: 8 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01256, allocations: 0 / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01256, allocations: 3.984 kB / 335.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007142/0.01328, allocations: 1.062 MB / 336.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01328, allocations: 4 kB / 336.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01339, allocations: 75.84 kB / 336.5 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01339, allocations: 11.88 kB / 336.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01341, allocations: 15.98 kB / 336.5 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01341, allocations: 4.25 kB / 336.5 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01341, allocations: 8 kB / 336.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.01376, allocations: 0.7593 MB / 337.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.01385, allocations: 87.45 kB / 337.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.0139, allocations: 23.92 kB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.01404, allocations: 12 kB / 337.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.01409, allocations: 47.86 kB / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.01412, allocations: 20 kB / 337.4 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.01434, allocations: 343.4 kB / 337.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01434, allocations: 4 kB / 337.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.01466, allocations: 99.86 kB / 337.9 MB, free: 10.56 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.001382/0.01604, allocations: 0.666 MB / 338.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.01628, allocations: 201.4 kB / 338.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.01629, allocations: 8.25 kB / 338.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.0164, allocations: 125.5 kB / 338.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.01691, allocations: 137.3 kB / 339 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.01786, allocations: 0.989 MB / 340 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.01798, allocations: 162.2 kB / 340.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.01812, allocations: 75.25 kB / 340.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.01833, allocations: 143.3 kB / 340.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01833, allocations: 0 / 340.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of Templates: time 0.009128/0.02746, allocations: 6.326 MB / 346.7 MB, free: 2.105 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0732236141338944]