Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0007752/0.0007752, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009842/0.001759, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006844/0.0006844, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008333/0.001518, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09901/1.106, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2971/0.2971, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02665/0.3237, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.307e-05, allocations: 4.516 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003163/0.003187, allocations: 1.761 MB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004946, allocations: 1.014 MB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.005019, allocations: 0 / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.005275, allocations: 51.69 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.005528, allocations: 103.5 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.005652, allocations: 71.62 kB / 295.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.0058, allocations: 103.7 kB / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.005844, allocations: 4.234 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.005971, allocations: 79.75 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.006049, allocations: 27.91 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.006063, allocations: 0 / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.006137, allocations: 43.92 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.006186, allocations: 23.86 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.006221, allocations: 15.94 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.00638, allocations: 95.62 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.006394, allocations: 0 / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.006396, allocations: 0 / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.006407, allocations: 0 / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004124/0.00682, allocations: 368.8 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.006853, allocations: 8.031 kB / 296.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.006881, allocations: 8.938 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.007033, allocations: 158.5 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.007047, allocations: 4.375 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.007056, allocations: 4.375 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.007152, allocations: 57.77 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.007159, allocations: 3.938 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-06/0.007164, allocations: 0 / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.007167, allocations: 0 / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.007189, allocations: 7.938 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.716e-05/0.007276, allocations: 74.69 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.007352, allocations: 37.44 kB / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.007374, allocations: 12.86 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.007384, allocations: 4 kB / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.04e-05/0.007475, allocations: 58.2 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.007476, allocations: 0 / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001135/0.007589, allocations: 69.61 kB / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.007618, allocations: 55.34 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.00774, allocations: 217.2 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.007767, allocations: 29.7 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.007792, allocations: 92.11 kB / 297.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.007824, allocations: 23.83 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.007858, allocations: 17.72 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.007931, allocations: 330.8 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.008074, allocations: 6.828 kB / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.008094, allocations: 17.72 kB / 297.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.008134, allocations: 39.28 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008136, allocations: 0 / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.891e-05/0.008205, allocations: 68.44 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008218, allocations: 4 kB / 297.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008223, allocations: 4.031 kB / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.008231, allocations: 0 / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.008299, allocations: 19.92 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.008301, allocations: 0 / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.008328, allocations: 4 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.008332, allocations: 0 / 297.9 MB, free: 0.8633 MB / 282.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 (7): * Single equations (assignments): 7 * 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.341e-05/0.008396, allocations: 116.7 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.008407, allocations: 7.984 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-05/0.008501, allocations: 70.77 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.008503, allocations: 3.984 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008506, allocations: 7.938 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008508, allocations: 0 / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.008582, allocations: 93.84 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008583, allocations: 0 / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.008603, allocations: 4.375 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.008616, allocations: 11.91 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.008618, allocations: 0 / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.008623, allocations: 4 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008625, allocations: 4 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.008627, allocations: 3.938 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.008694, allocations: 90.7 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.008711, allocations: 7.984 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.008733, allocations: 0 / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.008756, allocations: 4 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008768, allocations: 7.922 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.252e-05/0.008821, allocations: 83.69 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008821, allocations: 0 / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001108/0.008932, allocations: 15.94 kB / 298.4 MB, free: 284 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001278/0.01021, allocations: 0.5586 MB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.01033, allocations: 36.89 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.01033, allocations: 4 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.01037, allocations: 20.84 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01052, allocations: 23.98 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.01098, allocations: 239.2 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.01103, allocations: 75.33 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.01105, allocations: 8.547 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.01112, allocations: 67.38 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01112, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.00339/0.01451, allocations: 1.83 MB / 301.2 MB, free: 13.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.9337173271924257]