Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.000734/0.000734, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001842, 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.00102/0.00102, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002399, 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 1.036/1.036, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.139, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.2819/0.2819, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02608/0.308, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.957e-05, allocations: 2.312 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002049/0.002069, allocations: 1.898 MB / 294.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003264, allocations: 1.1 MB / 295.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.003333, allocations: 7.938 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.003657, allocations: 307 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.003942, allocations: 251 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.00409, allocations: 115.5 kB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.004312, allocations: 267.2 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.004356, allocations: 10.47 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.004556, allocations: 220.2 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.004712, allocations: 167.7 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.004733, allocations: 8 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.004815, allocations: 55.86 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.004912, allocations: 136 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.004972, allocations: 55.75 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.005219, allocations: 278.9 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.005232, allocations: 3.938 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005233, allocations: 4 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.005243, allocations: 4 kB / 297.8 MB, free: 1.25 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.0006193/0.005863, allocations: 0.6858 MB / 298.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.005893, allocations: 8.625 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.005945, allocations: 36.89 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.006207, allocations: 301.9 kB / 298.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.006226, allocations: 8.359 kB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.006238, allocations: 384 / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.006368, allocations: 91.41 kB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.006378, allocations: 11.92 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.006385, allocations: 0 / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.00639, allocations: 0 / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.00642, allocations: 17.64 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.006555, allocations: 126.3 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.006662, allocations: 74.81 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.006691, allocations: 25.7 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.006703, allocations: 8 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.006819, allocations: 99.83 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.00682, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001614/0.006981, allocations: 107.2 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.007016, allocations: 92.97 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.007368, allocations: 0.6063 MB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.007383, allocations: 25.7 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.007441, allocations: 145.3 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.007478, allocations: 31.78 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.007511, allocations: 29.7 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.007602, allocations: 366.7 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.007623, allocations: 14.81 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.007654, allocations: 40.8 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.007716, allocations: 72.31 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007718, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001035/0.007822, allocations: 111.2 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.007835, allocations: 8.062 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00784, allocations: 4 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007851, allocations: 0 / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.007938, allocations: 27.92 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007942, allocations: 4 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.007991, allocations: 11.95 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.007997, allocations: 3.938 kB / 300.9 MB, free: 13.85 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 8.261e-05/0.008079, allocations: 129.5 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.008106, allocations: 31.95 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.008246, allocations: 125.9 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008248, allocations: 4 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008251, allocations: 7.938 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008255, allocations: 0 / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.008389, allocations: 165.7 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008391, allocations: 256 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.008426, allocations: 16 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.00847, allocations: 51.66 kB / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008473, allocations: 0 / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008482, allocations: 8 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008483, allocations: 0 / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.008486, allocations: 3.938 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.008599, allocations: 147.8 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.008629, allocations: 4 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.008673, allocations: 7.984 kB / 301.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.008706, allocations: 7.984 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.00872, allocations: 11.94 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.008934, allocations: 319.2 kB / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008934, allocations: 0 / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.009081, allocations: 47.94 kB / 302 MB, free: 12.72 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.001321/0.0104, allocations: 0.5635 MB / 302.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01051, allocations: 56.77 kB / 302.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.01052, allocations: 8 kB / 302.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.01057, allocations: 40.77 kB / 302.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.0109, allocations: 396.3 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.01174, allocations: 0.6654 MB / 303.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.01182, allocations: 132.2 kB / 303.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.01188, allocations: 43.7 kB / 303.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01199, allocations: 99.34 kB / 304 MB, free: 10.92 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01199, allocations: 0 / 304 MB, free: 10.92 MB / 298.7 MB Notification: Performance of Templates: time 0.006484/0.01847, allocations: 4.357 MB / 308.3 MB, free: 6.645 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.9289840077981353]