Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001015/0.001015, allocations: 84.73 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.001141/0.001141, allocations: 167.9 kB / 24.91 MB, free: 8.262 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.9745/0.9745, allocations: 177 MB / 205.2 MB, free: 5.449 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.3041/0.3041, allocations: 34.87 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.242e-05, allocations: 2.312 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001934/0.001947, allocations: 1.759 MB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003493, allocations: 1.746 MB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.003559, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.003793, allocations: 35.77 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.00408, allocations: 107.4 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.004239, allocations: 79.59 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.004369, allocations: 108.4 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.004435, allocations: 15.97 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.004515, allocations: 59.83 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.004601, allocations: 31.89 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.004615, allocations: 8 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.004747, allocations: 107.7 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.004804, allocations: 23.92 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.004848, allocations: 19.92 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005052, allocations: 151.5 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005053, allocations: 0 / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005054, allocations: 0 / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.005057, allocations: 0 / 330.2 MB, free: 2.801 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.0003418/0.005399, allocations: 345.3 kB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.005427, allocations: 8.031 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.005456, allocations: 8.922 kB / 330.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.0056, allocations: 142.2 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.005616, allocations: 384 / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.00564, allocations: 8.359 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.005769, allocations: 101.2 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.005778, allocations: 3.938 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.005786, allocations: 0 / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005791, allocations: 0 / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.005817, allocations: 22.75 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.005987, allocations: 177.9 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.006064, allocations: 81.3 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.006082, allocations: 12.86 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.006091, allocations: 0 / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/0.006163, allocations: 74.08 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.006164, allocations: 0 / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002431/0.006407, allocations: 109.6 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.006441, allocations: 81.11 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.006535, allocations: 160.3 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.006548, allocations: 25.7 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.006578, allocations: 100 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.0066, allocations: 27.75 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.006628, allocations: 25.69 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.006706, allocations: 322.8 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.00672, allocations: 10.83 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.006751, allocations: 52.64 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.00679, allocations: 44.48 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006791, allocations: 4 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.088e-05/0.006862, allocations: 84.36 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.006872, allocations: 4 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.006876, allocations: 4 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.006887, allocations: 0 / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.006938, allocations: 15.98 kB / 332.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006941, allocations: 0 / 332.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.006966, allocations: 4 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.00697, allocations: 0 / 332.3 MB, free: 0.5703 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 5.748e-05/0.007027, allocations: 120.7 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.00704, allocations: 15.92 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/0.007127, allocations: 74.39 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.007128, allocations: 0 / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00713, allocations: 0 / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007132, allocations: 0 / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.007319, allocations: 295.6 kB / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007319, allocations: 0 / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.007339, allocations: 8 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.00734, allocations: 0 / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.007346, allocations: 8.016 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007347, allocations: 4 kB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007348, allocations: 4.016 kB / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007453, allocations: 215 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.007464, allocations: 11.95 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.007478, allocations: 0 / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.007516, allocations: 7.984 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.007538, allocations: 7.938 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.00755, allocations: 11.98 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.007583, allocations: 37.08 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007583, allocations: 7.938 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007745, allocations: 51.86 kB / 333.1 MB, free: 15.64 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.001534/0.009278, allocations: 0.6832 MB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.00943, allocations: 56.75 kB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.009434, allocations: 0 / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.009467, allocations: 24.8 kB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.009685, allocations: 41.92 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.01002, allocations: 196 kB / 334.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.01006, allocations: 63.34 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.01011, allocations: 20.97 kB / 334.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.01019, allocations: 75.48 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01019, allocations: 0 / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003969/0.01416, allocations: 2.764 MB / 337 MB, free: 12.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.0727866762317717]