Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001086/0.001086, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001208/0.001208, allocations: 162.1 kB / 24.92 MB, free: 8.75 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.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.422 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.3075/0.3075, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.565e-05, allocations: 2.312 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002613/0.002629, allocations: 1.89 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004092, allocations: 1.082 MB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.004172, allocations: 3.938 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.004586, allocations: 299.1 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.004926, allocations: 263 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.005094, allocations: 103.6 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.005339, allocations: 268 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.005387, allocations: 10.45 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.005543, allocations: 159.5 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.005745, allocations: 168.1 kB / 330.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.005766, allocations: 8 kB / 330.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.00586, allocations: 47.92 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.005976, allocations: 136.5 kB / 330.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.613e-05/0.006052, allocations: 79.66 kB / 330.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.006355, allocations: 274.9 kB / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006357, allocations: 0 / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006358, allocations: 0 / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006362, allocations: 0 / 330.8 MB, free: 2.262 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.0006808/0.007043, allocations: 0.6394 MB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.007075, allocations: 8.031 kB / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.007131, allocations: 28.91 kB / 331.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.007461, allocations: 293.9 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.007478, allocations: 8.375 kB / 331.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.007489, allocations: 8.375 kB / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.007627, allocations: 91.44 kB / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.007635, allocations: 192 / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.007642, allocations: 384 / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.007649, allocations: 3.938 kB / 331.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.007688, allocations: 25.58 kB / 331.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.007845, allocations: 118.3 kB / 332 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.007967, allocations: 78.86 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.008, allocations: 25.7 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.008011, allocations: 7.938 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.008133, allocations: 95.27 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.008134, allocations: 0 / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001848/0.008318, allocations: 111.2 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.008357, allocations: 81.11 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.00886, allocations: 0.5906 MB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.008877, allocations: 29.7 kB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.00895, allocations: 149.3 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.008991, allocations: 39.66 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.009035, allocations: 33.7 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.009154, allocations: 366.7 kB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.009181, allocations: 10.83 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.009221, allocations: 44.53 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.009298, allocations: 68.33 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.0093, allocations: 0 / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001345/0.009435, allocations: 107.2 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.009446, allocations: 4 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00945, allocations: 3.938 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009464, allocations: 4 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.009551, allocations: 27.92 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.009556, allocations: 4 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.009621, allocations: 11.92 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009627, allocations: 0 / 333.9 MB, free: 14.94 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.226e-05/0.00972, allocations: 126.1 kB / 334 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.00976, allocations: 36.03 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.00992, allocations: 121.8 kB / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009922, allocations: 0 / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009924, allocations: 0 / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.00993, allocations: 7.938 kB / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.0101, allocations: 169.6 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0101, allocations: 0 / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.01013, allocations: 12.19 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01013, allocations: 0 / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01015, allocations: 15.98 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01015, allocations: 0 / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01015, allocations: 4 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01028, allocations: 131.5 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.01034, allocations: 51.66 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.01037, allocations: 4 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.01042, allocations: 7.984 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.01046, allocations: 15.92 kB / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.01047, allocations: 4 kB / 334.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.01076, allocations: 319.1 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01076, allocations: 0 / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01097, allocations: 40 kB / 334.9 MB, free: 13.84 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.001217/0.01219, allocations: 0.4947 MB / 335.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.0123, allocations: 60.75 kB / 335.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.01231, allocations: 4 kB / 335.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.01235, allocations: 28.8 kB / 335.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.0126, allocations: 78.02 kB / 335.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.01334, allocations: 0.6385 MB / 336.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.337e-05/0.01343, allocations: 128.2 kB / 336.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.01351, allocations: 39.45 kB / 336.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01364, allocations: 103.3 kB / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01364, allocations: 0 / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of Templates: time 0.007215/0.02085, allocations: 4.256 MB / 340.7 MB, free: 8.273 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1530393920838833]