Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001101/0.001101, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001036/0.001036, allocations: 175.1 kB / 25.61 MB, free: 8.883 MB / 18.57 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.9431/0.9431, allocations: 177.2 MB / 206.1 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.12e-07/8.12e-07, allocations: 0 / 377.3 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.63e-05, allocations: 6.312 kB / 377.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001837/0.001854, allocations: 1.828 MB / 379.2 MB, free: 23.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.00314, allocations: 1.068 MB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.003204, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003508, allocations: 307.1 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.003808, allocations: 267 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.003947, allocations: 107.6 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.004124, allocations: 271.2 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.004158, allocations: 5.812 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004271, allocations: 155.6 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.004403, allocations: 211.5 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.00442, allocations: 8 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.004483, allocations: 47.92 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.004554, allocations: 143.6 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.004602, allocations: 75.67 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.004794, allocations: 282.9 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.004795, allocations: 0 / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004796, allocations: 0 / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.0048, allocations: 0 / 382.1 MB, free: 20.72 MB / 314.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.0004692/0.005269, allocations: 0.7979 MB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.477e-05/0.005294, allocations: 11.98 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.005343, allocations: 56.56 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.005545, allocations: 316.6 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.00556, allocations: 4.359 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.005569, allocations: 8.375 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.005672, allocations: 90.23 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.00568, allocations: 3.938 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.005688, allocations: 7.984 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005693, allocations: 8 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.005721, allocations: 15.97 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.005879, allocations: 212.9 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.005979, allocations: 98.14 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.006005, allocations: 35.36 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.006013, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/0.006099, allocations: 108.3 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 6.71e-07/0.006099, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001891/0.006288, allocations: 173.1 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.006309, allocations: 77.11 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.006621, allocations: 0.6937 MB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.00663, allocations: 25.7 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.006755, allocations: 318.7 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.006782, allocations: 27.83 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.006811, allocations: 35.36 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.006882, allocations: 0.5664 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.006901, allocations: 15.92 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.006927, allocations: 50.67 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.006978, allocations: 74.66 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00698, allocations: 0 / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001099/0.00709, allocations: 149.7 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.007098, allocations: 8 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.007101, allocations: 128 / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.007111, allocations: 3.938 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.007172, allocations: 31.92 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007175, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.007224, allocations: 15.89 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.00723, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.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 5.952e-05/0.007289, allocations: 165.2 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.00732, allocations: 59.67 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.007458, allocations: 153.9 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00746, allocations: 7.938 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007462, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007465, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.007591, allocations: 233 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007592, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.007614, allocations: 8 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007617, allocations: 7.984 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.007623, allocations: 4 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007625, allocations: 7.938 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007627, allocations: 4 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007747, allocations: 207.6 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.007788, allocations: 63.53 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.007812, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.007852, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.007878, allocations: 11.92 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.007889, allocations: 7.984 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.008077, allocations: 438.7 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008077, allocations: 0 / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.008246, allocations: 51.98 kB / 387.5 MB, free: 14.96 MB / 314.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.0007524/0.008999, allocations: 386.2 kB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.009099, allocations: 63.59 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009101, allocations: 4 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.009136, allocations: 43.59 kB / 388 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009375, allocations: 81.97 kB / 388.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.009885, allocations: 0.6655 MB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.335e-05/0.009939, allocations: 124.1 kB / 388.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.009995, allocations: 46.88 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.01008, allocations: 126.2 kB / 389 MB, free: 13.53 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01008, allocations: 0 / 389 MB, free: 13.53 MB / 314.7 MB Notification: Performance of Templates: time 0.005535/0.01562, allocations: 4.413 MB / 393.4 MB, free: 9.164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.231040834914893]