Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009842/0.0009842, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001072/0.001072, allocations: 166.2 kB / 24.91 MB, free: 8.758 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.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.434 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.2819/0.2819, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.45e-05, allocations: 2.312 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002755/0.002779, allocations: 1.823 MB / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004091, allocations: 1.002 MB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.004168, allocations: 3.938 kB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.004455, allocations: 35.78 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.004736, allocations: 99.41 kB / 329 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.004908, allocations: 71.67 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.005072, allocations: 112.4 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.005163, allocations: 11.97 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.005255, allocations: 55.83 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.005329, allocations: 23.91 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.005344, allocations: 4 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.005433, allocations: 51.86 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.005495, allocations: 27.86 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.005533, allocations: 23.91 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.005707, allocations: 95.66 kB / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.005711, allocations: 0 / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.005712, allocations: 0 / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005716, allocations: 0 / 329.5 MB, free: 3.602 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.00038/0.006096, allocations: 317.6 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.006132, allocations: 15.97 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.006164, allocations: 4.938 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.006351, allocations: 162.2 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.006368, allocations: 384 / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.006386, allocations: 4.375 kB / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006517, allocations: 61.77 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006529, allocations: 192 / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.006536, allocations: 384 / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.006545, allocations: 3.938 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.006573, allocations: 15.97 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.006812, allocations: 162 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.006914, allocations: 89.3 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.006936, allocations: 20.83 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.006948, allocations: 0 / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.007053, allocations: 66.22 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.007055, allocations: 0 / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003189/0.007373, allocations: 117.5 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.007408, allocations: 51.41 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.007519, allocations: 177.3 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007533, allocations: 29.7 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.007566, allocations: 96.11 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.007596, allocations: 35.77 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.007631, allocations: 21.72 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.007717, allocations: 326.8 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.007736, allocations: 10.77 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.007762, allocations: 25.7 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.007809, allocations: 36.52 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.00781, allocations: 0 / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.202e-05/0.007902, allocations: 68.44 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.007919, allocations: 11.97 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.007925, allocations: 4 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.007939, allocations: 0 / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.008014, allocations: 19.98 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.008019, allocations: 7.938 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.008049, allocations: 4 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.008054, allocations: 7.938 kB / 331.4 MB, free: 1.488 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.848e-05/0.008123, allocations: 116.7 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.008134, allocations: 11.94 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.00825, allocations: 79.06 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008253, allocations: 4 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.008254, allocations: 4 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008257, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.008492, allocations: 291.6 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.008497, allocations: 7.938 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.008528, allocations: 11.98 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008531, allocations: 0 / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.008539, allocations: 4 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.008542, allocations: 4 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.008544, allocations: 0 / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.008651, allocations: 211.1 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.008664, allocations: 15.88 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.008682, allocations: 4.375 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.008723, allocations: 4 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.008751, allocations: 11.97 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.008764, allocations: 4 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.008808, allocations: 51.64 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008808, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.008959, allocations: 27.94 kB / 332.2 MB, free: 0.5664 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.00137/0.01033, allocations: 0.5663 MB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.01045, allocations: 32.84 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.01045, allocations: 4 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.01049, allocations: 28.84 kB / 332.9 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01071, allocations: 43.47 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.01107, allocations: 208 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01112, allocations: 71.28 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.01115, allocations: 17.27 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.01122, allocations: 67.36 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01122, allocations: 3.938 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003813/0.01504, allocations: 2.024 MB / 335.3 MB, free: 13.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.9778887387365103]