Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001283/0.001283, 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.001519/0.001519, 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.9326/0.9326, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2559/0.2559, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Test69,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.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,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.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.144e-05, allocations: 4.422 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00257/0.002591, allocations: 1.842 MB / 325.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.004296, allocations: 1.083 MB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004398, allocations: 0 / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.004866, allocations: 307 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.005338, allocations: 251.1 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.005618, allocations: 111.6 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.00592, allocations: 267.2 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.005966, allocations: 10.45 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.006149, allocations: 147.6 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.006351, allocations: 180.1 kB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.006372, allocations: 4 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.006471, allocations: 51.91 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.006587, allocations: 136.5 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.006665, allocations: 75.64 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.006955, allocations: 274.9 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006958, allocations: 4 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006959, allocations: 0 / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.006963, allocations: 0 / 328 MB, free: 4.902 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.0006465/0.007609, allocations: 0.6354 MB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.007641, allocations: 8.031 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.007693, allocations: 32.84 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.007996, allocations: 297.9 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.008011, allocations: 4.375 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.008025, allocations: 8.375 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.008166, allocations: 91.42 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.008175, allocations: 7.938 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.008184, allocations: 4 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.008189, allocations: 0 / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.008233, allocations: 25.58 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.008385, allocations: 126.2 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.008504, allocations: 74.84 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.008539, allocations: 29.66 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.008549, allocations: 0 / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.008666, allocations: 99.88 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.008667, allocations: 4 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000176/0.008843, allocations: 107.2 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.008885, allocations: 81.05 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.009371, allocations: 0.5984 MB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.00939, allocations: 25.7 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.009461, allocations: 149.3 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.009502, allocations: 31.73 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.009544, allocations: 25.7 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.009666, allocations: 366.7 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.009695, allocations: 10.83 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.009735, allocations: 47.41 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.009811, allocations: 67.81 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009813, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001348/0.009948, allocations: 107.9 kB / 331 MB, free: 1.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.009961, allocations: 7.984 kB / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.009966, allocations: 4 kB / 331 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.009977, allocations: 4 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.01006, allocations: 27.94 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01006, allocations: 3.984 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.01013, allocations: 8 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.01014, allocations: 4 kB / 331.1 MB, free: 1.574 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 9.591e-05/0.01024, allocations: 117.3 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01028, allocations: 31.95 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.01043, allocations: 117.8 kB / 331.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01044, allocations: 4 kB / 331.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01044, allocations: 7.922 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01045, allocations: 4 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.01061, allocations: 169.6 kB / 331.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01062, allocations: 0 / 331.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.01065, allocations: 11.94 kB / 331.5 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01066, allocations: 4 kB / 331.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01067, allocations: 3.984 kB / 331.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01067, allocations: 0 / 331.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01067, allocations: 0 / 331.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01081, allocations: 138.1 kB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.01087, allocations: 51.66 kB / 331.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.0109, allocations: 3.984 kB / 331.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01095, allocations: 12 kB / 331.7 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.01098, allocations: 11.92 kB / 331.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.011, allocations: 8.062 kB / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000294/0.01129, allocations: 323.2 kB / 332.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 0 / 332.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.01151, allocations: 40 kB / 332.1 MB, free: 488 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.001274/0.01279, allocations: 0.5009 MB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.0129, allocations: 60.75 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.01291, allocations: 8 kB / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.01295, allocations: 36.78 kB / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.0132, allocations: 79.47 kB / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.01395, allocations: 0.6467 MB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.887e-05/0.01405, allocations: 132.2 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.906e-05/0.01412, allocations: 38.94 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.01425, allocations: 95.36 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01425, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.007405/0.02165, allocations: 4.258 MB / 338 MB, free: 10.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.923985261004418]