Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009566/0.0009566, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2828/0.2828, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.106e-05, allocations: 2.312 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.005899/0.00592, allocations: 1.89 MB / 327.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.00755, allocations: 1.084 MB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.007629, allocations: 0 / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.008106, allocations: 311 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.01155, allocations: 263 kB / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.01178, allocations: 103.6 kB / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.01208, allocations: 268 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.01213, allocations: 22.42 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.01232, allocations: 155.5 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.01252, allocations: 171.7 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.01254, allocations: 4 kB / 330.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.01264, allocations: 51.91 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01277, allocations: 140.1 kB / 330.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.748e-05/0.01285, allocations: 75.66 kB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.01316, allocations: 290.9 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01316, allocations: 0 / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01316, allocations: 0 / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01317, allocations: 4 kB / 330.8 MB, free: 2.227 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.0006411/0.01381, allocations: 0.6394 MB / 331.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01384, allocations: 12.03 kB / 331.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.0139, allocations: 24.91 kB / 331.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.01725, allocations: 309.8 kB / 331.8 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.01727, allocations: 4.359 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.01729, allocations: 8.375 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.01743, allocations: 87.45 kB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.01744, allocations: 192 / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.01745, allocations: 4.375 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01745, allocations: 3.938 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.01749, allocations: 25.58 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.01765, allocations: 122.2 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.01778, allocations: 78.86 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.01781, allocations: 17.72 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.01782, allocations: 4 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.01795, allocations: 103.8 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.01795, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001918/0.01814, allocations: 107.2 kB / 332.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.01818, allocations: 81.11 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.01869, allocations: 0.6062 MB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01871, allocations: 33.69 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.01879, allocations: 149.3 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.01883, allocations: 35.66 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.01887, allocations: 33.7 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.019, allocations: 370.7 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.01903, allocations: 14.77 kB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.01907, allocations: 40.41 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.01914, allocations: 72.31 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01915, allocations: 0 / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001357/0.01928, allocations: 111.2 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01929, allocations: 4 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.0193, allocations: 64 / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01931, allocations: 11.98 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.0194, allocations: 19.94 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.01941, allocations: 0 / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.01948, allocations: 15.92 kB / 333.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.01948, allocations: 4 kB / 333.9 MB, free: 14.86 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.332e-05/0.01958, allocations: 122.2 kB / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.01961, allocations: 31.95 kB / 334.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.01977, allocations: 113.9 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01978, allocations: 3.984 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01978, allocations: 4 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.01979, allocations: 11.92 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.02297, allocations: 169.6 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02297, allocations: 0 / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.02301, allocations: 11.98 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.02302, allocations: 4 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.02302, allocations: 3.938 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02303, allocations: 0 / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02303, allocations: 0 / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.02317, allocations: 146.5 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.02324, allocations: 55.66 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.02327, allocations: 4 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.02333, allocations: 4 kB / 334.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.02336, allocations: 11.98 kB / 334.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.02338, allocations: 7.984 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.02368, allocations: 315.2 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02368, allocations: 0 / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.02391, allocations: 51.92 kB / 335 MB, free: 13.75 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.001353/0.02526, allocations: 0.497 MB / 335.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.02538, allocations: 56.78 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.02539, allocations: 4 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.02543, allocations: 36.77 kB / 335.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.02569, allocations: 72.59 kB / 335.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.02945, allocations: 0.6501 MB / 336.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.02955, allocations: 132.2 kB / 336.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.02963, allocations: 38.95 kB / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.02976, allocations: 103.3 kB / 336.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02976, allocations: 0 / 336.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of Templates: time 0.008024/0.03779, allocations: 4.311 MB / 340.9 MB, free: 8.121 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1061902190558612]