Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.000904/0.000904, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008716/0.0008716, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9499/0.9499, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2441/0.2441, allocations: 34.25 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.864e-05, allocations: 3.812 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002362/0.00239, allocations: 1.809 MB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003555, allocations: 0.9981 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.003623, allocations: 4 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.003876, allocations: 51.69 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.00412, allocations: 99.47 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.00429, allocations: 79.61 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.004437, allocations: 103.7 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.004506, allocations: 11.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.004584, allocations: 55.83 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.004649, allocations: 19.92 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.004661, allocations: 4 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.004735, allocations: 55.91 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.004776, allocations: 27.86 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.004807, allocations: 20.42 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004954, allocations: 111.5 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004956, allocations: 4 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004957, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004962, allocations: 0 / 328.8 MB, free: 4.109 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.0003238/0.005286, allocations: 329.4 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.005313, allocations: 8.031 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.005343, allocations: 16.92 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.005481, allocations: 150.4 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.005493, allocations: 384 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.005509, allocations: 8.375 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.0056, allocations: 65.75 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.005609, allocations: 7.875 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005616, allocations: 4 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.00562, allocations: 0 / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.005643, allocations: 11.98 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.005826, allocations: 165.9 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.005905, allocations: 93.34 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.00593, allocations: 12.8 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.00594, allocations: 0 / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/0.006021, allocations: 70.08 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.006022, allocations: 0 / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000266/0.006288, allocations: 113.5 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.006392, allocations: 59.39 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.006498, allocations: 193.6 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006512, allocations: 29.69 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.00654, allocations: 96.08 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.006565, allocations: 35.77 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.006594, allocations: 17.72 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.667e-05/0.00666, allocations: 330.8 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.006675, allocations: 10.83 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.006697, allocations: 21.7 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.00674, allocations: 44.45 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006741, allocations: 0 / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.4e-05/0.006815, allocations: 80.36 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.006824, allocations: 8.031 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006829, allocations: 4 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.00684, allocations: 0 / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.0069, allocations: 15.98 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006902, allocations: 0 / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.006928, allocations: 8 kB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.006933, allocations: 0 / 330.8 MB, free: 1.957 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 5.716e-05/0.006991, allocations: 116.7 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.007005, allocations: 16.3 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.007098, allocations: 79.06 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007102, allocations: 8 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.007103, allocations: 0 / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007106, allocations: 4 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.007295, allocations: 299.6 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007296, allocations: 0 / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.007319, allocations: 11.98 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.00732, allocations: 0 / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007327, allocations: 7.938 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007328, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007328, allocations: 3.938 kB / 331.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.73e-05/0.007416, allocations: 215.1 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.007428, allocations: 19.89 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.007441, allocations: 3.938 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.007478, allocations: 4 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.007499, allocations: 3.984 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.00751, allocations: 8 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.007555, allocations: 64.22 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007555, allocations: 0 / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.007693, allocations: 23.92 kB / 331.7 MB, free: 1.016 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.001114/0.008806, allocations: 0.5741 MB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.008888, allocations: 40.78 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.008894, allocations: 4 kB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.008921, allocations: 28.89 kB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.009087, allocations: 35.92 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.00936, allocations: 242.5 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.009394, allocations: 67.34 kB / 332.6 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.009428, allocations: 17.27 kB / 332.7 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.009486, allocations: 67.36 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.009487, allocations: 4 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of Templates: time 0.003271/0.01276, allocations: 2.025 MB / 334.8 MB, free: 14.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.8148548416793346]