Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009206/0.0009206, 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.0009362/0.0009362, allocations: 171.4 kB / 24.92 MB, free: 9.188 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.9806/0.9806, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3111/0.3111, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.493e-05, allocations: 3.516 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002317/0.002332, allocations: 1.887 MB / 327.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003654, allocations: 1.088 MB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.003744, allocations: 7.938 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.004189, allocations: 307 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.004529, allocations: 251.1 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004705, allocations: 111.6 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.004996, allocations: 275.2 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.005043, allocations: 10.47 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.005203, allocations: 147.6 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.005393, allocations: 179.6 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.005412, allocations: 8 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.005508, allocations: 51.86 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.005633, allocations: 144.1 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.005703, allocations: 72.16 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.00601, allocations: 275 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006012, allocations: 0 / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006013, allocations: 8 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006017, allocations: 0 / 330.2 MB, free: 2.77 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.0006333/0.00665, allocations: 0.6432 MB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006693, allocations: 8.031 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.006753, allocations: 32.89 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.007072, allocations: 297.9 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.007097, allocations: 8.375 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.007113, allocations: 8.359 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.007275, allocations: 87.45 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.007288, allocations: 7.875 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.007298, allocations: 7.984 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.007306, allocations: 0 / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.871e-05/0.007345, allocations: 21.64 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.007519, allocations: 118.3 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.007654, allocations: 82.8 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.007686, allocations: 21.7 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.007701, allocations: 8 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.007835, allocations: 95.83 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.007835, allocations: 0 / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002064/0.008042, allocations: 107.2 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.008091, allocations: 89.03 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.008533, allocations: 0.6024 MB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.008556, allocations: 29.7 kB / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.008627, allocations: 145.3 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.008679, allocations: 35.73 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.008719, allocations: 33.69 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.008884, allocations: 370.7 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.008909, allocations: 15.31 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.008946, allocations: 35.42 kB / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.009017, allocations: 71.83 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009019, allocations: 3.938 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001166/0.009136, allocations: 107.2 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.009152, allocations: 11.94 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.009158, allocations: 4.062 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.009171, allocations: 0 / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.009247, allocations: 27.92 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.009251, allocations: 0 / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.009297, allocations: 4 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.009307, allocations: 8 kB / 333.3 MB, free: 15.41 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 9.337e-05/0.0094, allocations: 125.2 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.009428, allocations: 31.95 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.009558, allocations: 114 kB / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009561, allocations: 11.94 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009565, allocations: 4.188 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.009569, allocations: 0 / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.009706, allocations: 181.6 kB / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009707, allocations: 0 / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.009736, allocations: 11.98 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009737, allocations: 0 / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.009745, allocations: 4 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009745, allocations: 0 / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009747, allocations: 0 / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.009872, allocations: 143.3 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.009919, allocations: 59.59 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.009944, allocations: 0 / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.009981, allocations: 8 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.01002, allocations: 11.97 kB / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01003, allocations: 7.938 kB / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.01025, allocations: 319.2 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01025, allocations: 0 / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.0104, allocations: 55.92 kB / 334.3 MB, free: 14.29 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.001101/0.0115, allocations: 0.4941 MB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.01161, allocations: 60.75 kB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01161, allocations: 4 kB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.01165, allocations: 28.8 kB / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01188, allocations: 80.88 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.01253, allocations: 0.6576 MB / 335.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/0.01261, allocations: 132.2 kB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.01267, allocations: 51.38 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01278, allocations: 99.36 kB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01278, allocations: 0 / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.00665/0.01943, allocations: 4.306 MB / 340.2 MB, free: 8.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.113372638821602]