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.001113/0.001113, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.00118/0.00118, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.07 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.3099/0.3099, allocations: 34.86 MB / 296.6 MB, free: 500 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 2.756e-06/2.756e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/2.018e-05, allocations: 4.609 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002247/0.002267, allocations: 1.812 MB / 327.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.004143, allocations: 1.734 MB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.004202, allocations: 4 kB / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.004424, allocations: 35.77 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.004653, allocations: 95.42 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.004776, allocations: 87.59 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.004906, allocations: 112.4 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.004976, allocations: 11.97 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.005054, allocations: 59.83 kB / 330 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.005143, allocations: 39.83 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.005156, allocations: 4 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.0053, allocations: 107.8 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.005337, allocations: 15.92 kB / 330.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.005368, allocations: 27.91 kB / 330.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.00555, allocations: 155.4 kB / 330.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005552, allocations: 4 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005552, allocations: 4 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.005555, allocations: 0 / 330.3 MB, free: 2.738 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.0003333/0.005888, allocations: 325.5 kB / 330.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.005917, allocations: 12.03 kB / 330.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.005949, allocations: 8.922 kB / 330.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.006094, allocations: 146.1 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.006106, allocations: 384 / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.006121, allocations: 4.375 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006245, allocations: 105.2 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006255, allocations: 7.875 kB / 330.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.006261, allocations: 4 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006267, allocations: 4 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.00629, allocations: 10.77 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.006478, allocations: 169.9 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.006557, allocations: 89.34 kB / 331.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.006574, allocations: 8.859 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.006583, allocations: 0 / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.088e-05/0.006664, allocations: 70.14 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.01e-07/0.006664, allocations: 0 / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000251/0.006916, allocations: 117.5 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.006949, allocations: 81.05 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.007042, allocations: 160.7 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.007058, allocations: 29.7 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.007084, allocations: 88.12 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.00711, allocations: 31.72 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.007139, allocations: 21.72 kB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000334/0.007473, allocations: 326.8 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.00749, allocations: 10.81 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.007522, allocations: 56.27 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.007567, allocations: 56.47 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007568, allocations: 0 / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.951e-05/0.007638, allocations: 68.44 kB / 332.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.007648, allocations: 4 kB / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.007651, allocations: 0 / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.007661, allocations: 0 / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.007715, allocations: 19.94 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.007718, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.007746, allocations: 7.984 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.007751, allocations: 8.031 kB / 332.3 MB, free: 0.5156 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.627e-05/0.007807, allocations: 116.7 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.007819, allocations: 11.92 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.009e-05/0.007909, allocations: 70.39 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.007913, allocations: 7.984 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.007914, allocations: 0 / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007917, allocations: 0 / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.008132, allocations: 299.5 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008134, allocations: 4 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.008157, allocations: 12.03 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.008159, allocations: 0 / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008166, allocations: 4 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.008168, allocations: 4 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.008169, allocations: 3.984 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.788e-05/0.008267, allocations: 215 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.008277, allocations: 7.953 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.008293, allocations: 4 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.008333, allocations: 7.984 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.008354, allocations: 4 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.008364, allocations: 7.984 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.0084, allocations: 45.08 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0084, allocations: 0 / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.008566, allocations: 47.86 kB / 333.2 MB, free: 15.59 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.001392/0.009957, allocations: 0.6919 MB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.01005, allocations: 44.77 kB / 333.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.01005, allocations: 4 kB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.01008, allocations: 24.84 kB / 334 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.01024, allocations: 41.3 kB / 334 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.01051, allocations: 196 kB / 334.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.01054, allocations: 67.33 kB / 334.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01059, allocations: 29.39 kB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.01066, allocations: 75.36 kB / 334.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01066, allocations: 0 / 334.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of Templates: time 0.003863/0.01452, allocations: 2.76 MB / 337.1 MB, free: 11.97 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 -s gbode -gbm=radauIIA3 -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.129858826287091]