Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008979/0.0008979, 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.0009873/0.0009873, 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 0.9646/0.9646, allocations: 177 MB / 205.2 MB, free: 5.023 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.2481/0.2481, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.235e-05, allocations: 2.312 kB / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002597/0.00262, allocations: 1.93 MB / 327.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004018, allocations: 1.115 MB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.004103, allocations: 0 / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.004488, allocations: 227.2 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.004891, allocations: 223 kB / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.005152, allocations: 115.6 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.005439, allocations: 267.8 kB / 329.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.005536, allocations: 22.59 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.005711, allocations: 147.5 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005858, allocations: 135.7 kB / 330.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.005879, allocations: 12 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.005984, allocations: 67.91 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.006051, allocations: 63.7 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.0061, allocations: 55.72 kB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.00633, allocations: 187.3 kB / 330.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.006333, allocations: 3.938 kB / 330.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006334, allocations: 0 / 330.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006339, allocations: 0 / 330.6 MB, free: 2.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004912/0.00683, allocations: 484.2 kB / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.006867, allocations: 8.031 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.00691, allocations: 20.92 kB / 331.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007112, allocations: 217.8 kB / 331.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.00713, allocations: 12.3 kB / 331.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.007157, allocations: 16.38 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.007304, allocations: 99.44 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.007316, allocations: 4.172 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.007326, allocations: 4.375 kB / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.007335, allocations: 11.92 kB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.007378, allocations: 29.58 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.007702, allocations: 296.8 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.007902, allocations: 186.8 kB / 331.9 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.007936, allocations: 33.81 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.007949, allocations: 4 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.008066, allocations: 108.4 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.008067, allocations: 3.938 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005854/0.008653, allocations: 321.5 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.008693, allocations: 81.11 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.008882, allocations: 324.6 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.008901, allocations: 33.7 kB / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.008961, allocations: 121.5 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.009011, allocations: 75.39 kB / 333 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.009055, allocations: 41.69 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.009141, allocations: 346.7 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.009175, allocations: 26.81 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.009222, allocations: 56 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.009312, allocations: 109.3 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009314, allocations: 0 / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001316/0.009445, allocations: 135.2 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.009465, allocations: 4 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.009472, allocations: 4 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.009485, allocations: 0 / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.009579, allocations: 43.92 kB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009585, allocations: 12.05 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.009632, allocations: 15.95 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.00964, allocations: 4 kB / 333.8 MB, free: 15.04 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.282e-05/0.009723, allocations: 132.5 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.009749, allocations: 23.97 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.009929, allocations: 157.3 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.009932, allocations: 4 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009934, allocations: 0 / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009937, allocations: 0 / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.01034, allocations: 0.5594 MB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01034, allocations: 0 / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.01039, allocations: 31.92 kB / 334.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.0104, allocations: 4 kB / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.01042, allocations: 11.98 kB / 334.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01042, allocations: 3.938 kB / 334.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01042, allocations: 4 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.01062, allocations: 414.5 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.01065, allocations: 35.78 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01068, allocations: 11.94 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.01075, allocations: 8 kB / 335.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01079, allocations: 19.97 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.01081, allocations: 11.98 kB / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.01091, allocations: 143.4 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 0 / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01113, allocations: 59.83 kB / 335.4 MB, free: 13.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001513/0.01264, allocations: 0.6538 MB / 336 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.0128, allocations: 94.89 kB / 336.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.01281, allocations: 4 kB / 336.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.01286, allocations: 64.69 kB / 336.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01316, allocations: 66.2 kB / 336.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.01369, allocations: 494 kB / 336.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.01376, allocations: 100.3 kB / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.01382, allocations: 41.91 kB / 336.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.01392, allocations: 91.34 kB / 337 MB, free: 11.99 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01392, allocations: 4 kB / 337 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Templates: time 0.00586/0.01978, allocations: 3.641 MB / 340.6 MB, free: 8.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.9988702526316047]