Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001041/0.001041, 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.001031/0.001031, allocations: 160.2 kB / 24.91 MB, free: 8.754 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.029/1.029, 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.2948/0.2948, allocations: 34.86 MB / 296.6 MB, free: 400 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 326.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.472e-05, allocations: 6.25 kB / 326.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002272/0.002287, allocations: 1.972 MB / 328 MB, free: 5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003582, allocations: 1.115 MB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.003655, allocations: 0 / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.004018, allocations: 259.2 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004323, allocations: 227.1 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.004491, allocations: 123.5 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.00472, allocations: 283.9 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.004803, allocations: 22.55 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.004943, allocations: 163.6 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.005087, allocations: 159.7 kB / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.005105, allocations: 12 kB / 330.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.3e-05/0.005198, allocations: 63.91 kB / 330.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.005261, allocations: 75.69 kB / 330.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.005305, allocations: 47.73 kB / 330.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.0055, allocations: 203.2 kB / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005501, allocations: 0 / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005502, allocations: 0 / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005505, allocations: 0 / 330.8 MB, free: 2.273 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004215/0.005927, allocations: 0.4883 MB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.005954, allocations: 12.03 kB / 331.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.00599, allocations: 20.91 kB / 331.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.006183, allocations: 228.1 kB / 331.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006198, allocations: 4.312 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.006223, allocations: 24.34 kB / 331.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.006346, allocations: 99.44 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.006355, allocations: 192 / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.006365, allocations: 8.375 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006371, allocations: 3.938 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.006409, allocations: 29.58 kB / 331.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.006674, allocations: 300.9 kB / 332 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.006853, allocations: 186.7 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.006881, allocations: 25.72 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.006891, allocations: 0 / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.006997, allocations: 123.8 kB / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 6.51e-07/0.006998, allocations: 0 / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005219/0.00752, allocations: 320.7 kB / 332.6 MB, free: 288 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.007551, allocations: 85.05 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.007753, allocations: 357 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.007769, allocations: 33.7 kB / 333.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.007811, allocations: 117.6 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.007855, allocations: 83.34 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.007895, allocations: 41.69 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.007975, allocations: 350.7 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.008006, allocations: 30.81 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.008053, allocations: 56.05 kB / 333.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.008138, allocations: 104.1 kB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008139, allocations: 4 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001223/0.008261, allocations: 137.8 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.008271, allocations: 8 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.008275, allocations: 0 / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.008286, allocations: 0 / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.00837, allocations: 43.97 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.008374, allocations: 3.938 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.008413, allocations: 8 kB / 334 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.008422, allocations: 8 kB / 334 MB, free: 14.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.268e-05/0.008495, allocations: 140.6 kB / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.008518, allocations: 27.97 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.008687, allocations: 156.5 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008689, allocations: 0 / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00869, allocations: 0 / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.008696, allocations: 7.984 kB / 334.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.009065, allocations: 0.5633 MB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.009067, allocations: 128 / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.009119, allocations: 31.98 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.009122, allocations: 4 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.009132, allocations: 11.94 kB / 335 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.009135, allocations: 7.938 kB / 335 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.009138, allocations: 8.156 kB / 335 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.009309, allocations: 404.7 kB / 335.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.009329, allocations: 31.77 kB / 335.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.009355, allocations: 15.92 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.009427, allocations: 8 kB / 335.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.009462, allocations: 23.91 kB / 335.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.009478, allocations: 15.98 kB / 335.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.009581, allocations: 159.5 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009581, allocations: 4 kB / 335.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.009784, allocations: 51.92 kB / 335.7 MB, free: 13.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001362/0.01115, allocations: 0.6486 MB / 336.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01128, allocations: 102.9 kB / 336.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.01129, allocations: 4 kB / 336.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.01134, allocations: 64.69 kB / 336.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01161, allocations: 67.27 kB / 336.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.0121, allocations: 0.5054 MB / 337.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.94e-05/0.01216, allocations: 100.3 kB / 337.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.01222, allocations: 37.92 kB / 337.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.01232, allocations: 95.34 kB / 337.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01232, allocations: 4 kB / 337.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Templates: time 0.005051/0.01737, allocations: 3.668 MB / 341 MB, free: 8.035 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.1373323872685432]