Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0009128/0.0009128, allocations: 80.8 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.001075/0.001075, allocations: 170.4 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.9115/0.9115, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.123/0.123, allocations: 32.79 MB / 294.6 MB, free: 15.44 MB / 282.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 4 kB / 323.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.703e-05, allocations: 8.781 kB / 323.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002322/0.002339, allocations: 1.958 MB / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003556, allocations: 1.04 MB / 326.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.003644, allocations: 11.88 kB / 326.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.003906, allocations: 39.7 kB / 326.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.004165, allocations: 103.4 kB / 326.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.004343, allocations: 95.59 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004503, allocations: 155.5 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.0046, allocations: 22.44 kB / 326.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.004699, allocations: 71.83 kB / 326.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.004787, allocations: 47.81 kB / 326.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.004805, allocations: 8 kB / 326.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.004889, allocations: 51.86 kB / 326.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.004938, allocations: 27.84 kB / 326.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.004974, allocations: 27.92 kB / 326.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.005137, allocations: 123.5 kB / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005139, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.00514, allocations: 7.938 kB / 327.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.005143, allocations: 0 / 327.1 MB, free: 14.92 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005037/0.005647, allocations: 389.6 kB / 327.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.005675, allocations: 15.98 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.005707, allocations: 12.92 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.005858, allocations: 166.3 kB / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.005871, allocations: 384 / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005892, allocations: 12.38 kB / 327.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006023, allocations: 133.9 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006031, allocations: 7.938 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.006039, allocations: 0 / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.006044, allocations: 0 / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.006078, allocations: 34.75 kB / 327.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.006368, allocations: 370.1 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006517, allocations: 101.2 kB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.00654, allocations: 20.84 kB / 328.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.006551, allocations: 4 kB / 328.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/0.00664, allocations: 87.91 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.006641, allocations: 4 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000117/0.006758, allocations: 81.83 kB / 328.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.006782, allocations: 51.41 kB / 328.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.006888, allocations: 197.5 kB / 328.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006902, allocations: 25.7 kB / 328.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.006945, allocations: 108 kB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.006962, allocations: 31.72 kB / 328.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.006996, allocations: 33.64 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.007071, allocations: 334.7 kB / 329.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.007088, allocations: 10.83 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.00712, allocations: 48.22 kB / 329.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.007177, allocations: 69.84 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007179, allocations: 0 / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.47e-05/0.007264, allocations: 92.36 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007275, allocations: 4 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.007282, allocations: 8.125 kB / 329.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.007295, allocations: 4 kB / 329.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.00735, allocations: 23.92 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.007354, allocations: 4 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.007392, allocations: 11.94 kB / 329.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007399, allocations: 4 kB / 329.5 MB, free: 12.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.715e-05/0.007476, allocations: 120.6 kB / 329.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.007491, allocations: 11.98 kB / 329.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.007586, allocations: 79.06 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007587, allocations: 0 / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007589, allocations: 4 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007591, allocations: 4 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.777e-05/0.007669, allocations: 101.8 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007671, allocations: 3.938 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.00771, allocations: 15.98 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007712, allocations: 3.984 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.007719, allocations: 4 kB / 329.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00772, allocations: 0 / 329.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.007722, allocations: 3.938 kB / 329.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.007866, allocations: 106.8 kB / 330 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.007888, allocations: 23.86 kB / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.007908, allocations: 0 / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.00795, allocations: 8 kB / 330 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.007988, allocations: 11.92 kB / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.008002, allocations: 4 kB / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.008061, allocations: 63.55 kB / 330.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008061, allocations: 0 / 330.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.008185, allocations: 27.94 kB / 330.1 MB, free: 11.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001/0.009185, allocations: 0.512 MB / 330.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.739e-05/0.009282, allocations: 48.77 kB / 330.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009285, allocations: 0 / 330.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.009324, allocations: 28.78 kB / 330.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.009456, allocations: 43.84 kB / 330.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.009767, allocations: 261.9 kB / 331 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.009798, allocations: 67.83 kB / 331.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.009837, allocations: 29.66 kB / 331.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.009909, allocations: 71.36 kB / 331.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00991, allocations: 0 / 331.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Templates: time 0.00371/0.01362, allocations: 2.193 MB / 333.4 MB, free: 8.555 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.952172012999654]