Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001079/0.001079, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002606, allocations: 449.8 kB / 10.44 MB, free: 252 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.00101/0.00101, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002149, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9536/0.9536, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09459/1.048, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2744/0.2744, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02749/0.3019, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 292.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.079e-05, allocations: 3.188 kB / 292.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00311/0.003131, allocations: 1.902 MB / 294.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004351, allocations: 1.1 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.004443, allocations: 0 / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.004799, allocations: 303 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.005128, allocations: 251 kB / 296.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.005343, allocations: 115.5 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.005581, allocations: 259.2 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.005624, allocations: 10.47 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.005827, allocations: 216.2 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.005984, allocations: 176.1 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.006005, allocations: 8 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.006086, allocations: 47.92 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.006182, allocations: 124.3 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.006237, allocations: 55.69 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.006492, allocations: 274.9 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.006502, allocations: 0 / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006503, allocations: 0 / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.006514, allocations: 0 / 297.7 MB, free: 1.309 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006465/0.007161, allocations: 0.6897 MB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.007192, allocations: 12.62 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.007251, allocations: 36.89 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.007505, allocations: 301.9 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.00752, allocations: 384 / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.007534, allocations: 8.359 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.007677, allocations: 83.47 kB / 298.8 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007686, allocations: 3.938 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.007698, allocations: 3.984 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007705, allocations: 4 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.007742, allocations: 25.56 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.0079, allocations: 118.3 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.008011, allocations: 78.81 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.008038, allocations: 25.69 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.008052, allocations: 4 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.008175, allocations: 95.89 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.008177, allocations: 0 / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001672/0.008344, allocations: 111.2 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.008382, allocations: 96.97 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.008718, allocations: 0.579 MB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.008735, allocations: 33.7 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.00879, allocations: 149.3 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.008823, allocations: 23.78 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.008859, allocations: 29.7 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.008946, allocations: 366.7 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.008967, allocations: 14.81 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.008998, allocations: 43.41 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.009058, allocations: 76.33 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00906, allocations: 0 / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.491e-05/0.009155, allocations: 103.2 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009168, allocations: 7.938 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.009174, allocations: 4 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.009185, allocations: 0 / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.009265, allocations: 31.86 kB / 300.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.009268, allocations: 4.062 kB / 300.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.009317, allocations: 7.953 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.009326, allocations: 8 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.994e-05/0.009406, allocations: 125.5 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.009433, allocations: 31.91 kB / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.009565, allocations: 117.9 kB / 301.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.009568, allocations: 4 kB / 301.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.00957, allocations: 3.938 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.009575, allocations: 3.984 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.009698, allocations: 169.7 kB / 301.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0097, allocations: 256 / 301.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.009731, allocations: 23.94 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.009772, allocations: 55.64 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009774, allocations: 0 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.009781, allocations: 4 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009782, allocations: 0 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009783, allocations: 3.938 kB / 301.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.009883, allocations: 130.4 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.009906, allocations: 4 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.009946, allocations: 11.92 kB / 301.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.009974, allocations: 19.92 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.009988, allocations: 7.938 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002068/0.0102, allocations: 307.2 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0102, allocations: 0 / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.01035, allocations: 51.92 kB / 301.9 MB, free: 12.8 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001195/0.01155, allocations: 0.5579 MB / 302.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01165, allocations: 68.67 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.01166, allocations: 7.984 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.0117, allocations: 28.86 kB / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.012, allocations: 387.5 kB / 302.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01273, allocations: 0.6459 MB / 303.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.0128, allocations: 128.2 kB / 303.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.01286, allocations: 39.7 kB / 303.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01296, allocations: 99.34 kB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01296, allocations: 4 kB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Templates: time 0.005975/0.01894, allocations: 4.32 MB / 308.2 MB, free: 6.801 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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: 2.9579096464440227]