Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009773/0.0009773, allocations: 88.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.000982/0.000982, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.051/1.051, allocations: 177 MB / 205.2 MB, free: 5.039 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.678e-05, allocations: 2.312 kB / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002451/0.002468, allocations: 1.82 MB / 327.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.003924, allocations: 1.006 MB / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.004007, allocations: 3.938 kB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.004314, allocations: 47.75 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.00461, allocations: 107.4 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.004797, allocations: 71.69 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.004953, allocations: 108.4 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.005041, allocations: 7.984 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.005129, allocations: 59.81 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.436e-05/0.005203, allocations: 23.92 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005219, allocations: 4 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.005299, allocations: 47.86 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.005349, allocations: 31.84 kB / 329.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.00538, allocations: 27.92 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.005583, allocations: 103.6 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005586, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005587, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.005591, allocations: 0 / 329.5 MB, free: 3.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003567/0.005948, allocations: 329.4 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.005981, allocations: 12.03 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.006013, allocations: 12.92 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.006167, allocations: 150.3 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.006183, allocations: 4.375 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.006201, allocations: 8.375 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.006304, allocations: 65.75 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.006314, allocations: 192 / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.006321, allocations: 4.359 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.006327, allocations: 3.938 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.006354, allocations: 12 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.006569, allocations: 165.9 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.006651, allocations: 89.3 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.00667, allocations: 16.84 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.00668, allocations: 7.938 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.186e-05/0.006762, allocations: 62.2 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006764, allocations: 0 / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002823/0.007046, allocations: 113.5 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.007077, allocations: 55.39 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.007193, allocations: 197.6 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.007207, allocations: 33.69 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.007239, allocations: 92.08 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.007267, allocations: 31.77 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.007297, allocations: 25.72 kB / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.00738, allocations: 330.8 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.007397, allocations: 10.77 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.007419, allocations: 22.09 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.007462, allocations: 40.5 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.007463, allocations: 4 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.332e-05/0.007536, allocations: 76.44 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007549, allocations: 7.938 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007555, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.007568, allocations: 4.031 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.007627, allocations: 19.98 kB / 331.5 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.007631, allocations: 3.938 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.007657, allocations: 4 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007662, allocations: 4 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.569e-05/0.007728, allocations: 116.7 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.007739, allocations: 11.92 kB / 331.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.007841, allocations: 83.06 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007843, allocations: 0 / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.007844, allocations: 0 / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.007848, allocations: 4 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.008063, allocations: 295.6 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.008066, allocations: 7.938 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.008094, allocations: 11.98 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008096, allocations: 0 / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.008102, allocations: 0 / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008104, allocations: 4 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008105, allocations: 0 / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.008202, allocations: 215 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008215, allocations: 19.83 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008231, allocations: 12.03 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.008271, allocations: 0 / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.008298, allocations: 7.984 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.008309, allocations: 4 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.008353, allocations: 56.53 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008353, allocations: 0 / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.008503, allocations: 31.92 kB / 332.3 MB, free: 492 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001782/0.01028, allocations: 0.5617 MB / 332.9 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01045, allocations: 44.83 kB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01046, allocations: 0 / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.0105, allocations: 28.78 kB / 333 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01076, allocations: 31.98 kB / 333 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.01122, allocations: 246.5 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.01127, allocations: 67.34 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.071e-05/0.01131, allocations: 17.27 kB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.01138, allocations: 67.36 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.794e-06/0.01138, allocations: 3.938 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of Templates: time 0.003869/0.01525, allocations: 2.024 MB / 335.4 MB, free: 13.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.0230927891097963]