Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001125/0.001125, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001312/0.001312, allocations: 169.3 kB / 24.82 MB, free: 8.867 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3234/0.3234, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.572e-05, allocations: 2.312 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002896/0.002932, allocations: 1.75 MB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.004975, allocations: 1.73 MB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.005067, allocations: 0 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.005408, allocations: 35.77 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.005762, allocations: 103.5 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.005923, allocations: 87.53 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.006093, allocations: 103.7 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006203, allocations: 11.97 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.006298, allocations: 59.78 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.006405, allocations: 31.89 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.006424, allocations: 8 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.006578, allocations: 99.81 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.006631, allocations: 23.92 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.006671, allocations: 27.91 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.006894, allocations: 155.4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006898, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006899, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.006906, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.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.0006187/0.007525, allocations: 455.8 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.007572, allocations: 8.031 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.007624, allocations: 16.88 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.007819, allocations: 159.9 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.007838, allocations: 384 / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.007859, allocations: 8.375 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.008017, allocations: 107.4 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.00803, allocations: 3.953 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.00804, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.008047, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.008081, allocations: 11.98 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.008394, allocations: 264.3 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.008507, allocations: 59.08 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.008529, allocations: 11.69 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.008549, allocations: 8 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.008659, allocations: 64.98 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.008661, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003599/0.009021, allocations: 141.5 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.009062, allocations: 77.11 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.009197, allocations: 212.8 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.009214, allocations: 33.7 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.009276, allocations: 146.8 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.009307, allocations: 19.8 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.009346, allocations: 35.34 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.009488, allocations: 0.4961 MB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.009514, allocations: 8 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.009563, allocations: 68.75 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.009617, allocations: 51.34 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009619, allocations: 4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.009732, allocations: 81.59 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.009745, allocations: 7.938 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009751, allocations: 3.938 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.009768, allocations: 4.062 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.009843, allocations: 16 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.009846, allocations: 3.984 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.009879, allocations: 4 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.009884, allocations: 0 / 385.4 MB, free: 11.24 MB / 362.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 9.878e-05/0.009983, allocations: 171.7 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.01, allocations: 11.95 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01017, allocations: 98.38 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01017, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01017, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.01019, allocations: 7.984 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.01052, allocations: 365.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01052, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01056, allocations: 8.375 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01056, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01057, allocations: 11.92 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01057, allocations: 4 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01057, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01074, allocations: 251.4 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.01075, allocations: 7.953 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01077, allocations: 12.03 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.01082, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.01085, allocations: 7.984 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01086, allocations: 4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.01094, allocations: 158 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01094, allocations: 0 / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01117, allocations: 51.8 kB / 386.5 MB, free: 10.02 MB / 362.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.001168/0.01234, allocations: 0.5428 MB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01249, allocations: 51.53 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01249, allocations: 8.062 kB / 387.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.01255, allocations: 31.59 kB / 387.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01281, allocations: 27.98 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.01325, allocations: 193.9 kB / 387.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.0133, allocations: 67.33 kB / 387.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.01334, allocations: 17.28 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.01343, allocations: 102.2 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01343, allocations: 4 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Templates: time 0.006264/0.01969, allocations: 2.777 MB / 390.3 MB, free: 6.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.4237318257801235]