Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001336/0.001336, allocations: 80.8 kB / 21.5 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.001456/0.001456, allocations: 169.4 kB / 24.91 MB, free: 8.77 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.9324/0.9324, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2586/0.2586, allocations: 32.81 MB / 294.6 MB, free: 1.211 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.Test70,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.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.879e-05, allocations: 8.703 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00251/0.002528, allocations: 1.841 MB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.00384, allocations: 1.091 MB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.003925, allocations: 4 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.004368, allocations: 299.1 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.004752, allocations: 267 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004959, allocations: 107.6 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.005222, allocations: 263.2 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.005268, allocations: 11.03 kB / 327.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.005421, allocations: 155.6 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.005578, allocations: 176.4 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005597, allocations: 12 kB / 327.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.005679, allocations: 47.92 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.005782, allocations: 147.6 kB / 327.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.005844, allocations: 71.67 kB / 327.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006088, allocations: 286.8 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00609, allocations: 0 / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00609, allocations: 0 / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.006095, allocations: 0 / 328 MB, free: 4.906 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.0005443/0.006639, allocations: 0.6353 MB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.006671, allocations: 8.031 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.006715, allocations: 36.91 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.007247, allocations: 305.9 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007261, allocations: 4.375 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.007273, allocations: 384 / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.0074, allocations: 95.42 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007408, allocations: 7.938 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.007415, allocations: 0 / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.007419, allocations: 0 / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.007453, allocations: 21.58 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.007586, allocations: 126.2 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.00769, allocations: 82.84 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.007719, allocations: 21.72 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.007731, allocations: 7.938 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.00783, allocations: 91.89 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.007831, allocations: 0 / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001476/0.007978, allocations: 119.5 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.008017, allocations: 89.05 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.008388, allocations: 0.6024 MB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.008405, allocations: 29.7 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.00846, allocations: 145.3 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.008496, allocations: 39.66 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.008529, allocations: 29.7 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.008626, allocations: 370.7 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.008649, allocations: 10.83 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.00868, allocations: 44.67 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.053e-05/0.008741, allocations: 71.81 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008743, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001/0.008843, allocations: 103.2 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.008854, allocations: 4 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.008858, allocations: 4 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.008871, allocations: 0 / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.00894, allocations: 27.86 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008944, allocations: 4 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.008993, allocations: 16.05 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.008998, allocations: 0 / 331.2 MB, free: 1.551 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.269e-05/0.009081, allocations: 121.3 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.009108, allocations: 27.97 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.009239, allocations: 126.1 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009241, allocations: 0 / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.009244, allocations: 3.938 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.009248, allocations: 4 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.009375, allocations: 169.6 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009376, allocations: 0 / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.381e-05/0.0094, allocations: 15.94 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009402, allocations: 0 / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.009408, allocations: 7.984 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009409, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00941, allocations: 0 / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.009512, allocations: 142.8 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.009557, allocations: 51.66 kB / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.009581, allocations: 4 kB / 331.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.009619, allocations: 7.984 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.009651, allocations: 7.984 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.009663, allocations: 15.94 kB / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.009869, allocations: 323.1 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009869, allocations: 0 / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001494/0.01002, allocations: 47.94 kB / 332.2 MB, free: 444 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.00102/0.01104, allocations: 0.4978 MB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01114, allocations: 60.75 kB / 332.8 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.01116, allocations: 8 kB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.0112, allocations: 28.91 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01144, allocations: 80.47 kB / 332.9 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.01223, allocations: 0.6653 MB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.01233, allocations: 140.1 kB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.935e-05/0.01241, allocations: 38.94 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.01253, allocations: 99.34 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01253, allocations: 0 / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of Templates: time 0.007755/0.02029, allocations: 4.308 MB / 338.1 MB, free: 10.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.936816690955311]