Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002696, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002523, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.039/1.039, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.146, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02712/0.3303, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.195e-05, allocations: 2.969 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002303/0.002315, allocations: 2.378 MB / 296.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.004047, allocations: 1.415 MB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004171, allocations: 7.938 kB / 298 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.004525, allocations: 290.8 kB / 298.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.004971, allocations: 374.3 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.005317, allocations: 223.3 kB / 298.9 MB, free: 308 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.005803, allocations: 0.5529 MB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.005913, allocations: 33.27 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.00632, allocations: 449.8 kB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.006542, allocations: 223.4 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.006578, allocations: 20 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.006687, allocations: 59.92 kB / 300.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.006776, allocations: 103.6 kB / 300.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.006849, allocations: 83.62 kB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.00715, allocations: 302.7 kB / 300.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.007162, allocations: 0 / 300.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007163, allocations: 4 kB / 300.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.007175, allocations: 0 / 300.7 MB, free: 14.48 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007869/0.007962, allocations: 0.7687 MB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.007996, allocations: 8.922 kB / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.008069, allocations: 48.89 kB / 301.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.008387, allocations: 329.7 kB / 301.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.00841, allocations: 12.86 kB / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.008443, allocations: 24.31 kB / 301.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.008661, allocations: 182.3 kB / 302 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.008675, allocations: 4.188 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.00869, allocations: 8.359 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.008702, allocations: 7.938 kB / 302 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.008781, allocations: 62.05 kB / 302.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.009273, allocations: 0.6112 MB / 302.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.00957, allocations: 430.4 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.009637, allocations: 56.28 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.009656, allocations: 7.938 kB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.009872, allocations: 202.2 kB / 303.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.009873, allocations: 0 / 303.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007653/0.01064, allocations: 487.1 kB / 303.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.01072, allocations: 170.1 kB / 304 MB, free: 10.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.01108, allocations: 0.493 MB / 304.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.01111, allocations: 33.7 kB / 304.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.01119, allocations: 158.2 kB / 304.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.01129, allocations: 130.9 kB / 304.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.01136, allocations: 70.16 kB / 304.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01149, allocations: 378.6 kB / 305.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.01155, allocations: 43.8 kB / 305.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01166, allocations: 121.5 kB / 305.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.01185, allocations: 210.5 kB / 305.6 MB, free: 9.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.01185, allocations: 5.875 kB / 305.6 MB, free: 9.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002587/0.01211, allocations: 243.5 kB / 305.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01212, allocations: 8 kB / 305.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01213, allocations: 0 / 305.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01214, allocations: 4 kB / 305.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.01233, allocations: 91.83 kB / 306 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01234, allocations: 4.156 kB / 306 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.01243, allocations: 35.86 kB / 306 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01245, allocations: 12 kB / 306 MB, free: 8.719 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001025/0.01255, allocations: 147.2 kB / 306.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.01259, allocations: 47.89 kB / 306.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.01288, allocations: 268.7 kB / 306.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01289, allocations: 4 kB / 306.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.01289, allocations: 0 / 306.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.0129, allocations: 7.984 kB / 306.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.01364, allocations: 1.093 MB / 307.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01364, allocations: 0 / 307.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01375, allocations: 75.84 kB / 307.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.0138, allocations: 51.61 kB / 307.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.01381, allocations: 4 kB / 307.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01383, allocations: 15.98 kB / 307.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.01383, allocations: 4.156 kB / 307.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01384, allocations: 7.938 kB / 307.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.01435, allocations: 0.8542 MB / 308.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.0144, allocations: 12 kB / 308.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01456, allocations: 19.98 kB / 308.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.01462, allocations: 39.88 kB / 308.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.01465, allocations: 19.98 kB / 308.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.01484, allocations: 247.2 kB / 308.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01484, allocations: 0 / 308.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.01519, allocations: 103.8 kB / 309 MB, free: 5.617 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001399/0.01659, allocations: 0.6223 MB / 309.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.01685, allocations: 205.9 kB / 309.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.01686, allocations: 8 kB / 309.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01699, allocations: 132.5 kB / 310 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.01783, allocations: 0.8669 MB / 310.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.01952, allocations: 0.8504 MB / 311.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01962, allocations: 137.9 kB / 311.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.01976, allocations: 75.41 kB / 311.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.01996, allocations: 151.3 kB / 312.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01996, allocations: 0 / 312.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of Templates: time 0.008386/0.02835, allocations: 6.938 MB / 319 MB, free: 11.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.173226421698928]