Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001416/0.001416, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002166/0.003582, allocations: 447.8 kB / 10.35 MB, free: 348 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.001241/0.001241, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.002308, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9852/0.9852, allocations: 158.6 MB / 171 MB, free: 2.164 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1779/1.163, allocations: 49.5 MB / 220.5 MB, free: 5.262 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1495/0.1495, allocations: 32.34 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04775/0.1973, allocations: 12.3 MB / 265.9 MB, free: 7.816 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.281e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002202/0.002225, allocations: 1.855 MB / 269.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003316, allocations: 0.8853 MB / 270 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.00342, allocations: 4 kB / 270 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.003843, allocations: 307.2 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.004117, allocations: 219.2 kB / 270.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.004416, allocations: 131.6 kB / 270.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.00469, allocations: 243.3 kB / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.004749, allocations: 14.45 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.004977, allocations: 208.2 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.005184, allocations: 171.7 kB / 271.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.005209, allocations: 4 kB / 271.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.005313, allocations: 47.97 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.005434, allocations: 135.6 kB / 271.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.005506, allocations: 51.75 kB / 271.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.005764, allocations: 274.8 kB / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.00578, allocations: 3.938 kB / 271.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005781, allocations: 0 / 271.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.005797, allocations: 0 / 271.8 MB, free: 1.906 MB / 266.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.0006951/0.006492, allocations: 0.6808 MB / 272.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006529, allocations: 12.03 kB / 272.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.006581, allocations: 32.84 kB / 272.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.006866, allocations: 293.9 kB / 272.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.006889, allocations: 8.375 kB / 272.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.0069, allocations: 384 / 272.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.007069, allocations: 95.42 kB / 272.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.007081, allocations: 7.938 kB / 272.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.00709, allocations: 0 / 272.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.007097, allocations: 0 / 272.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.007139, allocations: 25.56 kB / 272.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.007306, allocations: 122.3 kB / 273.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.007434, allocations: 74.86 kB / 273.1 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.007471, allocations: 29.64 kB / 273.2 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.007487, allocations: 0 / 273.2 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.007637, allocations: 95.89 kB / 273.3 MB, free: 316 kB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.007638, allocations: 0 / 273.3 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001777/0.007816, allocations: 115.7 kB / 273.4 MB, free: 192 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.00786, allocations: 84.98 kB / 273.5 MB, free: 88 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.008271, allocations: 0.5907 MB / 274.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.008292, allocations: 29.7 kB / 274.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.008364, allocations: 145.3 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.008414, allocations: 35.77 kB / 274.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.008453, allocations: 25.7 kB / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.008582, allocations: 366.7 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.008608, allocations: 18.81 kB / 274.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.008643, allocations: 39.42 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.008713, allocations: 79.88 kB / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008716, allocations: 0 / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001108/0.008826, allocations: 103.2 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008839, allocations: 4 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008845, allocations: 4 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.008855, allocations: 0 / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.008942, allocations: 31.86 kB / 274.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008945, allocations: 64 / 274.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.00901, allocations: 15.95 kB / 274.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.00902, allocations: 4 kB / 274.9 MB, free: 14.54 MB / 282.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 0.0001179/0.009138, allocations: 128.5 kB / 275.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.009186, allocations: 27.97 kB / 275.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.009346, allocations: 117.7 kB / 275.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.00935, allocations: 4 kB / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.009353, allocations: 4.188 kB / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.009357, allocations: 0 / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.009493, allocations: 169.7 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.009494, allocations: 4 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.009531, allocations: 19.92 kB / 275.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.009577, allocations: 51.66 kB / 275.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009579, allocations: 0 / 275.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009587, allocations: 4 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009589, allocations: 0 / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.009592, allocations: 3.938 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.009713, allocations: 142.3 kB / 275.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.009742, allocations: 4 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.009782, allocations: 4 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.009824, allocations: 23.91 kB / 275.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.009838, allocations: 11.92 kB / 275.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.01004, allocations: 307.2 kB / 275.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 275.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.01019, allocations: 47.94 kB / 276 MB, free: 13.42 MB / 282.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.001344/0.01154, allocations: 0.5508 MB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01168, allocations: 52.78 kB / 276.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.01169, allocations: 8.125 kB / 276.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.01173, allocations: 32.78 kB / 276.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01196, allocations: 90.2 kB / 276.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.0128, allocations: 0.6488 MB / 277.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.01288, allocations: 132.2 kB / 277.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.364e-05/0.01295, allocations: 42.94 kB / 277.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.01308, allocations: 99.36 kB / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01308, allocations: 0 / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.006623/0.0197, allocations: 4.32 MB / 282 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.026565165258944]