Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001442/0.001442, 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.001616/0.001616, 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.098/1.098, 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.2976/0.2976, 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.978e-05, allocations: 2.312 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002534/0.002564, allocations: 1.818 MB / 327.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.00454, allocations: 1.741 MB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.004617, allocations: 0 / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.004882, allocations: 31.77 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.005202, allocations: 96.52 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.005401, allocations: 87.59 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.005595, allocations: 116.3 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.005679, allocations: 11.97 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.005766, allocations: 59.83 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.00588, allocations: 35.89 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.005897, allocations: 4 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.006091, allocations: 107.8 kB / 330.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.006133, allocations: 19.86 kB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.006167, allocations: 27.91 kB / 330.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.006392, allocations: 159.5 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006395, allocations: 0 / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006396, allocations: 4 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.0064, allocations: 0 / 330.3 MB, free: 2.703 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.000411/0.006811, allocations: 329.5 kB / 330.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.00685, allocations: 8.031 kB / 330.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.006886, allocations: 8.922 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.007139, allocations: 143.1 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.007156, allocations: 4.375 kB / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.007173, allocations: 384 / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.007311, allocations: 109.1 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.007322, allocations: 3.938 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.00733, allocations: 8 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.007335, allocations: 0 / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.007362, allocations: 14.75 kB / 331 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.007583, allocations: 170 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.00768, allocations: 85.28 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.007702, allocations: 8.859 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.007717, allocations: 4 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.007819, allocations: 70.08 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007821, allocations: 0 / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002872/0.008108, allocations: 121.5 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.008141, allocations: 81.11 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.008248, allocations: 156.3 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.008263, allocations: 29.7 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.008293, allocations: 88.12 kB / 331.8 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.008321, allocations: 31.72 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.008353, allocations: 21.72 kB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.008433, allocations: 326.8 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.008452, allocations: 10.81 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.008489, allocations: 56.27 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.008536, allocations: 52.47 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.008537, allocations: 0 / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.095e-05/0.008618, allocations: 68.44 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.00863, allocations: 4 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008635, allocations: 3.938 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008648, allocations: 0 / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.008709, allocations: 16 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.008712, allocations: 3.984 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.008749, allocations: 8 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.008754, allocations: 4.031 kB / 332.4 MB, free: 496 kB / 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 0.0002911/0.009045, allocations: 116.7 kB / 332.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.00906, allocations: 11.92 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.009167, allocations: 74.39 kB / 332.5 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009169, allocations: 0 / 332.5 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.009171, allocations: 0 / 332.5 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009174, allocations: 7.922 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.009408, allocations: 299.7 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00941, allocations: 0 / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.009437, allocations: 12.03 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.00944, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.009448, allocations: 8 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.009451, allocations: 3.984 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.009452, allocations: 0 / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.009554, allocations: 215 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.009567, allocations: 7.953 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.009585, allocations: 8 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.009628, allocations: 4.359 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.009653, allocations: 4 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.009671, allocations: 15.92 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.986e-05/0.009711, allocations: 41.08 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009711, allocations: 0 / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.009897, allocations: 47.86 kB / 333.2 MB, free: 15.55 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: 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.001482/0.01138, allocations: 0.6843 MB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.01149, allocations: 52.75 kB / 333.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01149, allocations: 0 / 333.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.01152, allocations: 20.86 kB / 334 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.01171, allocations: 42.95 kB / 334 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.012, allocations: 199.9 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.01204, allocations: 63.34 kB / 334.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.01208, allocations: 21.41 kB / 334.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.01216, allocations: 75.36 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01216, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.004854/0.01702, allocations: 2.769 MB / 337.1 MB, free: 11.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.119531608186662]