Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0007334/0.0007334, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001893, 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.0007594/0.0007594, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001928, 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.046/1.046, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08848/1.135, 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.2716/0.2716, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02417/0.2958, 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.Test71,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.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,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.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 292.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.926e-05, allocations: 7.406 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002134/0.002153, allocations: 1.893 MB / 294.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003502, allocations: 1.101 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.003567, allocations: 7.938 kB / 295.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.003882, allocations: 307 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.004156, allocations: 255 kB / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.004297, allocations: 115.5 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.004519, allocations: 267.2 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.00456, allocations: 14.47 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004783, allocations: 216.2 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.004936, allocations: 171.7 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.004956, allocations: 8 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.005034, allocations: 51.86 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.005132, allocations: 144 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.005184, allocations: 51.75 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.005419, allocations: 270.9 kB / 297.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.00543, allocations: 7.938 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005431, allocations: 0 / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.005441, allocations: 4 kB / 297.8 MB, free: 1.258 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.0006165/0.006058, allocations: 0.6936 MB / 298.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.006087, allocations: 12.62 kB / 298.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.00613, allocations: 28.89 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.00637, allocations: 297.9 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.006395, allocations: 8.359 kB / 298.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.006408, allocations: 8.375 kB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006524, allocations: 91.38 kB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006532, allocations: 3.938 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.006541, allocations: 8 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006546, allocations: 0 / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.006575, allocations: 21.64 kB / 298.9 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.0067, allocations: 114.3 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.0068, allocations: 82.8 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.006827, allocations: 21.7 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.006838, allocations: 4 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006946, allocations: 103.8 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.006947, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001542/0.007101, allocations: 111.2 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.007136, allocations: 88.98 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.007506, allocations: 0.6024 MB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.007525, allocations: 25.7 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.007584, allocations: 153.3 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.007614, allocations: 23.78 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.007647, allocations: 33.69 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.007735, allocations: 366.7 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.007755, allocations: 18.81 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.007782, allocations: 38.3 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.007837, allocations: 68.33 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007838, allocations: 0 / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.722e-05/0.007936, allocations: 111.2 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.007945, allocations: 8 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.007948, allocations: 0 / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007961, allocations: 8.062 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.008033, allocations: 27.92 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.008037, allocations: 4 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.008083, allocations: 7.953 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.008089, allocations: 7.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.129e-05/0.00817, allocations: 125.5 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.008201, allocations: 35.95 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.008333, allocations: 121.9 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.008336, allocations: 4 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008338, allocations: 7.938 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008342, allocations: 0 / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.008466, allocations: 169.6 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008467, allocations: 256 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.008494, allocations: 16 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.008535, allocations: 51.66 kB / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008537, allocations: 0 / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.008544, allocations: 8 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.008545, allocations: 0 / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.008546, allocations: 3.938 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.008649, allocations: 139.3 kB / 301.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.008674, allocations: 8 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.008712, allocations: 7.984 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.00874, allocations: 11.98 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.008752, allocations: 7.938 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.00896, allocations: 323.2 kB / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00896, allocations: 0 / 301.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.009098, 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.001214/0.01031, allocations: 0.5603 MB / 302.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.01041, allocations: 56.77 kB / 302.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.01042, allocations: 4 kB / 302.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.01046, allocations: 36.78 kB / 302.6 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.0003094/0.01077, allocations: 402.2 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.0115, allocations: 0.6615 MB / 303.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.205e-05/0.01157, allocations: 132.2 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.01164, allocations: 47.7 kB / 303.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01174, allocations: 95.34 kB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01174, allocations: 0 / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Templates: time 0.006443/0.01818, allocations: 4.368 MB / 308.3 MB, free: 6.641 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.9545837258920074]