Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001278/0.001278, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001404/0.001404, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.053/1.053, allocations: 177 MB / 204.8 MB, free: 5.258 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.2644/0.2644, allocations: 34.87 MB / 296.3 MB, free: 444 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.278e-05, allocations: 6.312 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002411/0.002444, allocations: 1.756 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003701, allocations: 1.012 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.003782, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.004153, allocations: 51.62 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.004458, allocations: 95.53 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.004593, allocations: 71.69 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.004761, allocations: 115.5 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.00485, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.004933, allocations: 63.77 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.005013, allocations: 27.91 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.005033, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.005123, allocations: 43.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.005183, allocations: 19.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.00523, allocations: 27.91 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.005424, allocations: 95.59 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005427, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005428, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.005433, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.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.0005666/0.006, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.006048, allocations: 12.03 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.006116, allocations: 20.84 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.006323, allocations: 149.1 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.006346, allocations: 384 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.006373, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.00652, allocations: 62.94 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.006533, allocations: 192 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.006546, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.006557, allocations: 3.938 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.006597, allocations: 11.98 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.006956, allocations: 299.7 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.007087, allocations: 51.16 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.007127, allocations: 23.67 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.007142, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.00727, allocations: 72.92 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.007272, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004492/0.007721, allocations: 149.4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.007759, allocations: 55.34 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007902, allocations: 242.3 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.007917, allocations: 29.7 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.007982, allocations: 150.9 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.008011, allocations: 23.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.008051, allocations: 31.36 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.008187, allocations: 0.4962 MB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.008211, allocations: 8 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.00825, allocations: 35.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.00831, allocations: 59.34 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008311, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000106/0.008417, allocations: 97.53 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.008431, allocations: 8 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008436, allocations: 3.938 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008449, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.008522, allocations: 15.98 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.008528, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.008555, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.008562, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.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 7.763e-05/0.00864, allocations: 160.6 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.008656, allocations: 15.92 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.008806, allocations: 111.2 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.008809, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.008812, allocations: 4 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008816, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.009104, allocations: 400.9 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009106, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.009131, allocations: 8.375 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009132, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.00914, allocations: 7.938 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009143, allocations: 8.031 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009144, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.009283, allocations: 255.4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.009295, allocations: 11.91 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.009314, allocations: 11.98 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.009349, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.009384, allocations: 11.92 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.009396, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.009478, allocations: 167.2 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.009478, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.009642, allocations: 31.92 kB / 386 MB, free: 10.55 MB / 362.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.0008934/0.01054, allocations: 431.2 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01065, allocations: 55.55 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01065, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.01069, allocations: 31.61 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01092, allocations: 31.97 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.01126, allocations: 222.1 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.0113, allocations: 71.33 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01133, allocations: 13.3 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.01136, allocations: 16.48 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01136, allocations: 4 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.003576/0.01493, allocations: 2.011 MB / 388.8 MB, free: 7.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.258551445323974]