Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009944/0.0009944, 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.001119/0.001119, allocations: 160.9 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.9971/0.9971, allocations: 177 MB / 205.2 MB, free: 5.027 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.275/0.275, allocations: 34.86 MB / 296.6 MB, free: 464 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.558e-05, allocations: 5.125 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002164/0.002179, allocations: 1.767 MB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003366, allocations: 1.006 MB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.003425, allocations: 0 / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.003657, allocations: 39.72 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.003896, allocations: 103.5 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.004033, allocations: 79.59 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004172, allocations: 104.5 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.004242, allocations: 15.95 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.004319, allocations: 55.78 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.004381, allocations: 27.89 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.004393, allocations: 4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.004462, allocations: 43.92 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.004503, allocations: 15.94 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.004533, allocations: 27.84 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.004944, allocations: 99.66 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004946, allocations: 4 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004946, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.004949, allocations: 0 / 329.4 MB, free: 3.676 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.0003416/0.005291, allocations: 321.5 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.005324, allocations: 12.03 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.005356, allocations: 8.922 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.0055, allocations: 146.3 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.005515, allocations: 4.375 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005535, allocations: 8.375 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.005629, allocations: 61.77 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005638, allocations: 8.125 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.005644, allocations: 384 / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.00565, allocations: 3.938 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.005675, allocations: 15.92 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.005862, allocations: 161.9 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.005945, allocations: 89.34 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.00598, allocations: 16.84 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.005991, allocations: 0 / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.052e-05/0.006071, allocations: 70.16 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.006072, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002689/0.006341, allocations: 113.5 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.00637, allocations: 55.41 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.006464, allocations: 173.3 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.006478, allocations: 33.7 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.006507, allocations: 96.11 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.00653, allocations: 31.77 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.006558, allocations: 21.72 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.006626, allocations: 322.8 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.006641, allocations: 14.81 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.006661, allocations: 25.72 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.0067, allocations: 48.44 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006701, allocations: 0 / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.698e-05/0.006768, allocations: 60.52 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006781, allocations: 15.92 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006785, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.006796, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.00685, allocations: 15.94 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006853, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.006877, allocations: 12.03 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.006883, allocations: 4.359 kB / 331.3 MB, free: 1.566 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.138e-05/0.006944, allocations: 116.7 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.006957, allocations: 15.92 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.843e-05/0.007045, allocations: 71.08 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007047, allocations: 0 / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007049, allocations: 4 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007052, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.007248, allocations: 299.4 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.007251, allocations: 11.95 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.007271, allocations: 8 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007273, allocations: 4 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.007278, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007279, allocations: 240 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00728, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.007372, allocations: 224.8 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007384, allocations: 11.89 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.007396, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.007433, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.007455, allocations: 11.98 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.007465, allocations: 4 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.007505, allocations: 59.56 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007505, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.007644, allocations: 23.94 kB / 332.2 MB, free: 0.6406 MB / 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.001173/0.008817, allocations: 0.562 MB / 332.7 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.008902, allocations: 44.78 kB / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.008904, allocations: 0 / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.008932, allocations: 24.84 kB / 332.8 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.009092, allocations: 35.91 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.009359, allocations: 216 kB / 333 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.009404, allocations: 67.47 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.009434, allocations: 17.27 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.009494, allocations: 67.36 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009495, allocations: 0 / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.003245/0.01274, allocations: 2.024 MB / 335.2 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.0243387389928102]