Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001348/0.001348, 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.00166/0.00166, 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2927/0.2927, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.76e-05, allocations: 8.031 kB / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002638/0.002665, allocations: 1.809 MB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.004413, allocations: 1.735 MB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.004492, allocations: 7.938 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.00477, allocations: 31.83 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.005063, allocations: 103.4 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.005228, allocations: 79.66 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.005376, allocations: 107.6 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.005453, allocations: 7.984 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.005542, allocations: 55.83 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005653, allocations: 39.89 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.005667, allocations: 4 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.005837, allocations: 115.7 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.005882, allocations: 19.92 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.005918, allocations: 28.41 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.006138, allocations: 151.5 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006141, allocations: 0 / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006142, allocations: 4 kB / 329.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.006146, allocations: 0 / 329.7 MB, free: 3.277 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.0004134/0.006559, allocations: 329.5 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.0066, allocations: 12.03 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.006642, allocations: 8.922 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.006841, allocations: 146.2 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.006858, allocations: 384 / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.006876, allocations: 4.375 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.007023, allocations: 116.5 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.007033, allocations: 0 / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.007043, allocations: 0 / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.007051, allocations: 4 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.007084, allocations: 6.828 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.007344, allocations: 174 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.007436, allocations: 81.3 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.007463, allocations: 20.72 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.007475, allocations: 4 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.152e-05/0.007566, allocations: 66.2 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.007567, allocations: 0 / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002903/0.007858, allocations: 113.8 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.007893, allocations: 77.11 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.008003, allocations: 163.4 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.00802, allocations: 33.64 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.008052, allocations: 88.12 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.008085, allocations: 35.72 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.008119, allocations: 21.72 kB / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.008202, allocations: 326.8 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.008221, allocations: 14.81 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.008263, allocations: 60.2 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.008315, allocations: 48.44 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008317, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.568e-05/0.008413, allocations: 68.44 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008427, allocations: 4 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.008432, allocations: 0 / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008444, allocations: 0 / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.008518, allocations: 20.06 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.008521, allocations: 0 / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.008557, allocations: 7.984 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.008563, allocations: 4 kB / 331.7 MB, free: 1.055 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 7.92e-05/0.008642, allocations: 124.5 kB / 331.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.008657, allocations: 7.984 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.008776, allocations: 66.45 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00878, allocations: 4 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008781, allocations: 0 / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008784, allocations: 0 / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.009029, allocations: 299.6 kB / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009032, allocations: 4 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.009063, allocations: 11.94 kB / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009066, allocations: 0 / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009073, allocations: 4 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009075, allocations: 4 kB / 332.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009076, allocations: 0 / 332.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.009186, allocations: 219 kB / 332.4 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.009198, allocations: 7.953 kB / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.009214, allocations: 4 kB / 332.4 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.00926, allocations: 8.031 kB / 332.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.009287, allocations: 11.97 kB / 332.4 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.009297, allocations: 0 / 332.4 MB, free: 232 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.009343, allocations: 51.58 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009343, allocations: 0 / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.009531, allocations: 47.86 kB / 332.5 MB, free: 128 kB / 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.00157/0.0111, allocations: 0.7038 MB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.0112, allocations: 48.77 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.0112, allocations: 0 / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.01123, allocations: 28.78 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01142, allocations: 33.8 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.01171, allocations: 199.8 kB / 333.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.01175, allocations: 71.33 kB / 333.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.01179, allocations: 17.28 kB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.01187, allocations: 79.34 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01187, allocations: 0 / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.0044/0.01627, allocations: 2.759 MB / 336.5 MB, free: 12.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.1896568601951003]