Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001406/0.001406, allocations: 80.8 kB / 21.49 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.001234/0.001234, allocations: 169.9 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.9142/0.9142, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2916/0.2916, allocations: 34.27 MB / 296.1 MB, free: 0.7031 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.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.287e-05, allocations: 2.312 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00201/0.002022, allocations: 1.923 MB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003577, allocations: 1.12 MB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.003658, allocations: 4 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.003983, allocations: 227.2 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.004325, allocations: 219.1 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.004533, allocations: 119.6 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.00475, allocations: 259.2 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.004828, allocations: 23.09 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.004957, allocations: 147.6 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005085, allocations: 139.6 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.005101, allocations: 8 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.005195, allocations: 67.91 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.005255, allocations: 67.7 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.005299, allocations: 43.8 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.005492, allocations: 195.2 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005493, allocations: 0 / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 4e-07/0.005494, allocations: 0 / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.005496, allocations: 3.938 kB / 329.9 MB, free: 3.039 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.0004064/0.005903, allocations: 488.2 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.00593, allocations: 8.031 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.00597, allocations: 24.91 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006168, allocations: 209.8 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.006182, allocations: 8.312 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006202, allocations: 8.375 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.00633, allocations: 114.1 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006339, allocations: 3.938 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006347, allocations: 0 / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006352, allocations: 4 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.006391, allocations: 37.58 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.006643, allocations: 296.8 kB / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.006819, allocations: 194.5 kB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.006849, allocations: 29.91 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.006859, allocations: 4 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.707e-05/0.006956, allocations: 110.6 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.22e-07/0.006957, allocations: 4 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005239/0.007481, allocations: 315.8 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.007513, allocations: 85.09 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.007689, allocations: 328.6 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.007705, allocations: 37.64 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.007745, allocations: 117.5 kB / 332.2 MB, free: 500 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.007785, allocations: 75.41 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.007827, allocations: 37.69 kB / 332.4 MB, free: 380 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.007907, allocations: 350.7 kB / 332.7 MB, free: 20 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.007943, allocations: 30.81 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.007987, allocations: 65.95 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.008075, allocations: 101 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.008076, allocations: 0 / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001236/0.0082, allocations: 136.4 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00821, allocations: 8 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008215, allocations: 0 / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.008224, allocations: 4.062 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.008304, allocations: 39.92 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008308, allocations: 4 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.008351, allocations: 19.88 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008359, allocations: 4 kB / 333.1 MB, free: 15.58 MB / 314.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 7.98e-05/0.008439, allocations: 124.6 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.008476, allocations: 27.97 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.008714, allocations: 153.4 kB / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.008718, allocations: 0 / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.00872, allocations: 4 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.008725, allocations: 7.984 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.009133, allocations: 0.5555 MB / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009136, allocations: 0 / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.00919, allocations: 35.92 kB / 334 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.009196, allocations: 7.938 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.009205, allocations: 4 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.009208, allocations: 4 kB / 334 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009209, allocations: 4.125 kB / 334 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.009407, allocations: 416.7 kB / 334.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.00943, allocations: 27.75 kB / 334.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.009454, allocations: 8 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.009526, allocations: 7.984 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.009564, allocations: 23.97 kB / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.009578, allocations: 4 kB / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.009673, allocations: 143.4 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009674, allocations: 4 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.009893, allocations: 55.88 kB / 334.7 MB, free: 13.89 MB / 314.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.001605/0.0115, allocations: 0.6618 MB / 335.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01164, allocations: 104.5 kB / 335.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.01164, allocations: 4 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/0.0117, allocations: 64.69 kB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01199, allocations: 83.94 kB / 335.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.01247, allocations: 491.7 kB / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01253, allocations: 100.3 kB / 336.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.0126, allocations: 49.91 kB / 336.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.0127, allocations: 95.34 kB / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.0127, allocations: 0 / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Templates: time 0.005124/0.01782, allocations: 3.63 MB / 340 MB, free: 8.969 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.841502725146711]