Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001281/0.001281, 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.001077/0.001077, allocations: 161 kB / 24.91 MB, free: 9.195 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.025/1.025, allocations: 177 MB / 205.2 MB, free: 5.469 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.3258/0.3258, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.569e-05, allocations: 4.141 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002355/0.00238, allocations: 1.808 MB / 327.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.0037, allocations: 1.016 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.003761, allocations: 0 / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.00401, allocations: 35.77 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.004223, allocations: 95.41 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.004351, allocations: 83.67 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004488, allocations: 108.4 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.004564, allocations: 11.97 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.00464, allocations: 51.84 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.67e-05/0.004707, allocations: 31.89 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.00472, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.004791, allocations: 47.86 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.004828, allocations: 23.91 kB / 329.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.004858, allocations: 15.94 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.005004, allocations: 99.59 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005006, allocations: 0 / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005006, allocations: 4 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.00501, allocations: 0 / 329.5 MB, free: 3.586 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.0003204/0.00533, allocations: 313.6 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.005362, allocations: 12.03 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.00539, allocations: 8.922 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.005528, allocations: 145.5 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005542, allocations: 4.375 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.005557, allocations: 4.375 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.005646, allocations: 61.77 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005655, allocations: 192 / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.005661, allocations: 4.375 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005667, allocations: 3.938 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.005691, allocations: 11.98 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.005873, allocations: 165.9 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.005969, allocations: 89.27 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.005987, allocations: 8.859 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.006, allocations: 12 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/0.006081, allocations: 58.22 kB / 330.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.006083, allocations: 4 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002569/0.00634, allocations: 117.8 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.006367, allocations: 55.41 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.006459, allocations: 169 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.006471, allocations: 25.7 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.006499, allocations: 92.11 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.006525, allocations: 31.73 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.006553, allocations: 29.64 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.006622, allocations: 326.8 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.006638, allocations: 14.89 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.006664, allocations: 29.17 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.006703, allocations: 40.52 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006704, allocations: 0 / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.818e-05/0.006772, allocations: 72.44 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006784, allocations: 7.938 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006787, allocations: 0 / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006799, allocations: 0 / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.006856, allocations: 19.98 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006859, allocations: 3.938 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.006884, allocations: 4.031 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006888, allocations: 8 kB / 331.4 MB, free: 1.496 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.673e-05/0.006945, allocations: 116.7 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.006957, allocations: 11.92 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.00705, allocations: 83.05 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007052, allocations: 4 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007053, allocations: 0 / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007056, allocations: 0 / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.007248, allocations: 287.6 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.00725, allocations: 7.938 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.007273, allocations: 16.03 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.007275, allocations: 0 / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.007281, allocations: 3.984 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007283, allocations: 4 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007284, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.007375, allocations: 211 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.007387, allocations: 15.84 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.007401, allocations: 4 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.007438, allocations: 7.984 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.007462, allocations: 4 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.007472, allocations: 7.984 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.00751, allocations: 48.36 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00751, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.007652, allocations: 27.92 kB / 332.2 MB, free: 0.582 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.001218/0.00887, allocations: 0.5639 MB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.008964, allocations: 36.84 kB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008968, allocations: 0 / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.008998, allocations: 28.78 kB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.009173, allocations: 28.42 kB / 332.9 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.009462, allocations: 216.3 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.009499, allocations: 67.45 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.009531, allocations: 25.22 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.009592, allocations: 67.36 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.009593, allocations: 0 / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Templates: time 0.003283/0.01288, allocations: 2.016 MB / 335.3 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.1184285026974976]