Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009341/0.0009341, 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.0009852/0.0009852, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9237/0.9237, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2937/0.2937, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.436e-05, allocations: 4.281 kB / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002467/0.002482, allocations: 1.753 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.004097, allocations: 1.738 MB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.004162, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.004404, allocations: 35.77 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.004681, allocations: 107.3 kB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.004827, allocations: 79.66 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.004957, allocations: 107.6 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.005029, allocations: 12.67 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.005104, allocations: 59.89 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005205, allocations: 35.83 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.005221, allocations: 4 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.005357, allocations: 107.8 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.005402, allocations: 19.92 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.005435, allocations: 19.92 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.00564, allocations: 155.5 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005641, allocations: 3.938 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005642, allocations: 4 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.005646, allocations: 0 / 327.5 MB, free: 5.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000374/0.00602, allocations: 337.2 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.006051, allocations: 8.031 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.006082, allocations: 8.922 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.00624, allocations: 138.2 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.006254, allocations: 4.375 kB / 328 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.006273, allocations: 4.359 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.006389, allocations: 108.6 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.006397, allocations: 0 / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.006403, allocations: 11.94 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.006407, allocations: 0 / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.00643, allocations: 10.81 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.006609, allocations: 181.9 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.534e-05/0.006704, allocations: 85.23 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.006731, allocations: 12.8 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.006746, allocations: 4 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.157e-05/0.006838, allocations: 70.14 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006839, allocations: 0 / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002512/0.00709, allocations: 105.6 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.007157, allocations: 81.11 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.007258, allocations: 163.5 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.007271, allocations: 25.7 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.0073, allocations: 92.11 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.007323, allocations: 27.75 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.007351, allocations: 29.69 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.007423, allocations: 318.8 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.007438, allocations: 14.81 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.007468, allocations: 52.27 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.007509, allocations: 56.48 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.00751, allocations: 0 / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.845e-05/0.007579, allocations: 76.42 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.007589, allocations: 4 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007593, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.007604, allocations: 4 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.007657, allocations: 15.98 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00766, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.007685, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.00769, allocations: 8.031 kB / 329.6 MB, free: 3.121 MB / 298.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.624e-05/0.007756, allocations: 121.5 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.007769, allocations: 7.984 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.95e-05/0.007858, allocations: 74.39 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007861, allocations: 4.375 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007862, allocations: 0 / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.007865, allocations: 0 / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.008084, allocations: 291.4 kB / 330 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008086, allocations: 4 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.008109, allocations: 16.03 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008111, allocations: 0 / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.008117, allocations: 0 / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.00812, allocations: 11.86 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00812, allocations: 4 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.008221, allocations: 211 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.008234, allocations: 15.94 kB / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.008249, allocations: 0 / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.008292, allocations: 11.92 kB / 330.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.008321, allocations: 4 kB / 330.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.008335, allocations: 7.984 kB / 330.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.008386, allocations: 43.66 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008386, allocations: 0 / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.008667, allocations: 51.86 kB / 330.4 MB, free: 2.191 MB / 298.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.001543/0.01021, allocations: 0.7022 MB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.0103, allocations: 52.75 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01031, allocations: 0 / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.01034, allocations: 24.8 kB / 331.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.0105, allocations: 45.64 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.01078, allocations: 199.6 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.01082, allocations: 67.34 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.143e-05/0.01086, allocations: 21.09 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.01093, allocations: 71.36 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01094, allocations: 0 / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00403/0.01496, allocations: 2.761 MB / 334.4 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.860043428838253]