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.001594/0.001594, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.00168/0.00168, allocations: 171 kB / 24.91 MB, free: 9.145 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 1.107/1.107, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2604/0.2604, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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 1.643e-06/1.643e-06, allocations: 0 / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.916e-05, allocations: 4.906 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002467/0.002486, allocations: 1.881 MB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003798, allocations: 1.092 MB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.003879, allocations: 3.938 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.004317, allocations: 311 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.004682, allocations: 251.1 kB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.00486, allocations: 115.5 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.005094, allocations: 271.2 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.005136, allocations: 11.09 kB / 327.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005284, allocations: 155.5 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.005464, allocations: 176.4 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.005484, allocations: 8 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.504e-05/0.005569, allocations: 47.92 kB / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.00567, allocations: 143.6 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.005731, allocations: 71.66 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.005991, allocations: 275 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005993, allocations: 4 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005994, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.005999, allocations: 11.92 kB / 328.1 MB, free: 4.781 MB / 298.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.0005956/0.006595, allocations: 0.6314 MB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.006624, allocations: 8.031 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.006667, allocations: 32.89 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.006916, allocations: 301.9 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.006934, allocations: 12.36 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.006945, allocations: 8.375 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.007068, allocations: 91.39 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007076, allocations: 3.938 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.007084, allocations: 4 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007089, allocations: 0 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.007122, allocations: 21.64 kB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.007258, allocations: 122.2 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.007476, allocations: 78.81 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.007525, allocations: 25.69 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.007544, allocations: 4 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.007717, allocations: 99.83 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.007718, allocations: 0 / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002566/0.007975, allocations: 111.2 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.008033, allocations: 85.05 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.008692, allocations: 0.6024 MB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.008712, allocations: 33.64 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.008798, allocations: 149.3 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.008843, allocations: 27.73 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.008896, allocations: 37.69 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.009027, allocations: 370.7 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.009058, allocations: 14.81 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.009103, allocations: 37.3 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.009191, allocations: 67.83 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.009193, allocations: 0 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001732/0.009367, allocations: 115.8 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.009384, allocations: 8.625 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00939, allocations: 64 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.009404, allocations: 4 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.009505, allocations: 27.92 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.009508, allocations: 0 / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.009586, allocations: 4 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.009595, allocations: 8 kB / 331.2 MB, free: 1.434 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 0.000111/0.009706, allocations: 125.2 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.009755, allocations: 27.97 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.009947, allocations: 125.9 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009951, allocations: 0 / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.009954, allocations: 7.938 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.009958, allocations: 0 / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.01017, allocations: 177.6 kB / 331.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01017, allocations: 0 / 331.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.01022, allocations: 8 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01022, allocations: 0 / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01023, allocations: 4 kB / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.01023, allocations: 0 / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01024, allocations: 0 / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.01043, allocations: 150.2 kB / 331.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.0105, allocations: 51.66 kB / 331.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.01055, allocations: 4 kB / 331.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.01062, allocations: 7.984 kB / 331.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.01066, allocations: 12.11 kB / 331.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.01069, allocations: 11.94 kB / 331.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003565/0.01104, allocations: 319.2 kB / 332.2 MB, free: 368 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01104, allocations: 0 / 332.2 MB, free: 368 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.01131, allocations: 47.94 kB / 332.3 MB, free: 320 kB / 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.001636/0.01294, allocations: 0.5009 MB / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.01309, allocations: 64.7 kB / 332.9 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.0131, allocations: 8 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.01317, allocations: 28.83 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01347, allocations: 78.97 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.01448, allocations: 0.6537 MB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.01459, allocations: 132.2 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01469, allocations: 42.94 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.01485, allocations: 103.3 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01485, allocations: 0 / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Templates: time 0.009291/0.02414, allocations: 4.316 MB / 338.2 MB, free: 10.67 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 -s gbode -gbm=radauIIA3 -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.123607011977583]