Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001295/0.001295, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00205/0.003345, 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.0007758/0.0007758, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001862, 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.086/1.086, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09874/1.185, 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.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.369/0.369, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02619/0.3952, allocations: 12.52 MB / 289.3 MB, free: 8.676 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.173e-05, allocations: 4.344 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002432/0.002454, allocations: 1.764 MB / 292.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.00365, allocations: 1.002 MB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.003718, allocations: 2.656 kB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.003956, allocations: 64.03 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.004151, allocations: 110.1 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.004266, allocations: 76.41 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004416, allocations: 111.6 kB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.00446, allocations: 8.172 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.004583, allocations: 83.8 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.004665, allocations: 39.84 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.004679, allocations: 4 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.004745, allocations: 35.97 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.004784, allocations: 15.92 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.00482, allocations: 15.94 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.004954, allocations: 87.62 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.6e-05/0.00497, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00497, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.004986, allocations: 4 kB / 294.1 MB, free: 4.801 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.0004401/0.005426, allocations: 324.6 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.005458, allocations: 8.031 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.005494, allocations: 4.938 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005665, allocations: 158.2 kB / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.005685, allocations: 384 / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.005695, allocations: 384 / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.005822, allocations: 61.7 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005832, allocations: 3.938 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.005838, allocations: 0 / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.005847, allocations: 8 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.005875, allocations: 4 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.005984, allocations: 74.62 kB / 294.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.006072, allocations: 33.44 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.006096, allocations: 12.86 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.006109, allocations: 0 / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.006228, allocations: 70.14 kB / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.00623, allocations: 0 / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001391/0.006369, allocations: 57.67 kB / 294.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.006409, allocations: 59.34 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.006525, allocations: 173.5 kB / 295.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.006543, allocations: 29.7 kB / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.006574, allocations: 100 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.006611, allocations: 15.89 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.006645, allocations: 21.7 kB / 295.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.006743, allocations: 326.8 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.00676, allocations: 6.828 kB / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.006783, allocations: 13.72 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.006825, allocations: 43.61 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006827, allocations: 0 / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.308e-05/0.0069, allocations: 64.44 kB / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.006911, allocations: 4 kB / 295.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.006916, allocations: 0 / 295.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.006925, allocations: 3.984 kB / 295.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.006989, allocations: 15.94 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.006994, allocations: 3.984 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.007023, allocations: 4 kB / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.007028, allocations: 4.031 kB / 295.8 MB, free: 2.945 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.509e-05/0.007093, allocations: 120.6 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.007105, allocations: 7.984 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.007189, allocations: 70.75 kB / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00719, allocations: 0 / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.007193, allocations: 3.938 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.007195, allocations: 0 / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.48e-05/0.00727, allocations: 81.88 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007271, allocations: 0 / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.007286, allocations: 8 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.0073, allocations: 19.84 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.007303, allocations: 3.984 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007308, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.00731, allocations: 3.938 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.007313, allocations: 3.938 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.501e-05/0.007378, allocations: 86.94 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.007396, allocations: 8 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.007413, allocations: 0 / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.007442, allocations: 7.984 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.007452, allocations: 0 / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.007495, allocations: 55.58 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.007496, allocations: 4 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001175/0.007613, allocations: 16 kB / 296.3 MB, free: 2.395 MB / 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.001344/0.008957, allocations: 0.5415 MB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.009073, allocations: 40.77 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.009083, allocations: 4 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.009111, allocations: 16.86 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.009271, allocations: 48.33 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.009783, allocations: 198.7 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.009825, allocations: 63.34 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.009859, allocations: 12.48 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.009925, allocations: 67.36 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009926, allocations: 3.938 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of Templates: time 0.003278/0.0132, allocations: 1.8 MB / 299.1 MB, free: 15.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.3486514072865248]