Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001378/0.001378, 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.001164/0.001164, allocations: 175.7 kB / 24.91 MB, free: 8.738 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.9988/0.9988, 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.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.2539/0.2539, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 323.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.716e-05, allocations: 7.188 kB / 323.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002088/0.002105, allocations: 1.798 MB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003221, allocations: 1.001 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.003285, allocations: 3.938 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.003517, allocations: 43.7 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.003739, allocations: 91.53 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.003878, allocations: 79.61 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.004012, allocations: 115.6 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.004077, allocations: 9.359 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.004151, allocations: 51.89 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.004218, allocations: 27.84 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.00423, allocations: 4 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.004301, allocations: 47.92 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.00434, allocations: 19.91 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.004367, allocations: 15.94 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.004638, allocations: 103.6 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.004639, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00464, allocations: 4 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.004643, allocations: 3.938 kB / 326.8 MB, free: 6.133 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.0003107/0.004953, allocations: 325.4 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.00498, allocations: 8.031 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.005009, allocations: 8.922 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.005134, allocations: 155.4 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.005146, allocations: 4.312 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.00516, allocations: 4.375 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.005241, allocations: 65.77 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005249, allocations: 3.938 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.005255, allocations: 4 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00526, allocations: 4 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.005283, allocations: 7.984 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.005449, allocations: 165.9 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.005524, allocations: 89.3 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.005541, allocations: 8.859 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.00555, allocations: 0 / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/0.005622, allocations: 66.16 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005623, allocations: 4 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002557/0.005879, allocations: 117.5 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.005905, allocations: 55.41 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.006001, allocations: 180.8 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.006015, allocations: 29.69 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.006044, allocations: 92.11 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.006069, allocations: 27.78 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.006096, allocations: 25.7 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.006172, allocations: 326.8 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.006187, allocations: 10.81 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.00621, allocations: 33.64 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.006248, allocations: 36.52 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006249, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.555e-05/0.006314, allocations: 76.36 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.006325, allocations: 8 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006329, allocations: 0 / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.006338, allocations: 0 / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.006385, allocations: 12 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.006387, allocations: 4 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.006413, allocations: 16.02 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.006418, allocations: 4 kB / 328.7 MB, free: 4.016 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.132e-05/0.00648, allocations: 123.6 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.006493, allocations: 11.92 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.006583, allocations: 67.14 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006585, allocations: 7.938 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.006587, allocations: 384 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00659, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.006789, allocations: 295.4 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.006791, allocations: 8.031 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.006811, allocations: 12 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006813, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.006818, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.006819, allocations: 4 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00682, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.006917, allocations: 223 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.006927, allocations: 7.953 kB / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.006942, allocations: 4 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.006978, allocations: 4 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.007002, allocations: 7.984 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.007013, allocations: 11.98 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.007051, allocations: 47.64 kB / 329.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007051, allocations: 0 / 329.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.007191, allocations: 27.94 kB / 329.5 MB, free: 3.102 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.001151/0.008342, allocations: 0.5822 MB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.233e-05/0.008435, allocations: 48.77 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.008438, allocations: 0 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.008469, allocations: 24.8 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.008636, allocations: 35.16 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.009303, allocations: 215.7 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.009367, allocations: 71.45 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.009446, allocations: 21.28 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.009607, allocations: 67.36 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of SimCode: time 1.774e-06/0.009609, allocations: 0 / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of Templates: time 0.004433/0.01404, allocations: 2.018 MB / 332.6 MB, free: 312 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.858194573316723]