Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001062/0.001062, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001152/0.001152, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9884/0.9884, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3047/0.3047, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.61e-05, allocations: 2.969 kB / 323.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002741/0.002767, allocations: 1.882 MB / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004274, allocations: 1.095 MB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.004368, allocations: 4 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.004801, allocations: 295.1 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.005237, allocations: 251 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.005496, allocations: 107.6 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.005789, allocations: 271.2 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.005834, allocations: 10.47 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.005982, allocations: 159.5 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.006141, allocations: 164.1 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.00616, allocations: 8 kB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.006253, allocations: 47.92 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.006346, allocations: 136.5 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.006402, allocations: 71.66 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.006654, allocations: 278.9 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.006657, allocations: 0 / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006658, allocations: 4 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006662, allocations: 0 / 328.1 MB, free: 4.82 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.0005217/0.007184, allocations: 0.6353 MB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.007216, allocations: 8.031 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.007262, allocations: 32.84 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.007525, allocations: 305.9 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.00754, allocations: 4.375 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.00755, allocations: 4.375 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007678, allocations: 87.45 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007685, allocations: 3.938 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.007692, allocations: 4 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.007699, allocations: 4 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.007731, allocations: 21.58 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.007879, allocations: 126.2 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.007985, allocations: 74.88 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.008011, allocations: 21.66 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.008023, allocations: 8 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.00814, allocations: 95.88 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.008141, allocations: 0 / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001605/0.008302, allocations: 107.2 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.008341, allocations: 85.05 kB / 329.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.008744, allocations: 0.5945 MB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.00876, allocations: 29.7 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.008819, allocations: 145.3 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.008858, allocations: 31.73 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.008895, allocations: 29.69 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.008991, allocations: 374.7 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.009015, allocations: 14.81 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.009047, allocations: 35.44 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.009127, allocations: 68.31 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009129, allocations: 0 / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001143/0.009243, allocations: 111.2 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.009261, allocations: 7.938 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.009266, allocations: 4.062 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.009278, allocations: 4 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.009351, allocations: 31.86 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.009355, allocations: 4 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.009401, allocations: 4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.009409, allocations: 4 kB / 331.2 MB, free: 1.496 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.77e-05/0.009496, allocations: 121.2 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.009522, allocations: 27.97 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.009671, allocations: 121.8 kB / 331.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009674, allocations: 4 kB / 331.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.009676, allocations: 3.938 kB / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.00968, allocations: 7.984 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.009811, allocations: 165.6 kB / 331.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009813, allocations: 0 / 331.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.009841, allocations: 15.92 kB / 331.6 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.009843, allocations: 0 / 331.6 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.009852, allocations: 8 kB / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009853, allocations: 0 / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009854, allocations: 0 / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.009967, allocations: 143.5 kB / 331.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.01004, allocations: 55.66 kB / 331.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01006, allocations: 4 kB / 331.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.0101, allocations: 7.938 kB / 331.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.01013, allocations: 11.92 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01014, allocations: 15.92 kB / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.01034, allocations: 311.2 kB / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01034, allocations: 0 / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.01049, allocations: 40 kB / 332.2 MB, free: 400 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.001086/0.01158, allocations: 0.5139 MB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01168, allocations: 44.78 kB / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.01169, allocations: 8 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.01173, allocations: 32.78 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01195, allocations: 79.31 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.01258, allocations: 0.6389 MB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.27e-05/0.01265, allocations: 132.2 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.01272, allocations: 42.94 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.01282, allocations: 95.36 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01283, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.006749/0.01957, allocations: 4.268 MB / 338.1 MB, free: 10.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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: 2.953398091252893]