Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001144/0.001144, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.00115/0.00115, allocations: 157.9 kB / 24.99 MB, free: 8.25 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 0.957/0.957, allocations: 177 MB / 205.2 MB, free: 5.574 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.2723/0.2723, allocations: 34.86 MB / 296.6 MB, free: 420 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.92e-05, allocations: 2.312 kB / 378.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00205/0.002069, allocations: 1.794 MB / 380.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003404, allocations: 1.016 MB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.003457, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.003688, allocations: 107.6 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.00394, allocations: 131.4 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.004068, allocations: 91.53 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004209, allocations: 147.5 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.949e-05/0.004278, allocations: 13.58 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.004356, allocations: 75.81 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.004439, allocations: 67.84 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.004453, allocations: 7.984 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.00453, allocations: 59.92 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.004573, allocations: 31.86 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.004609, allocations: 31.91 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004775, allocations: 139.4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004777, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004777, allocations: 0 / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.004781, allocations: 4 kB / 382.6 MB, free: 14.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003557/0.005137, allocations: 487.5 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.005164, allocations: 8.031 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.005202, allocations: 28.8 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.005339, allocations: 165.2 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005352, allocations: 4.375 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.005368, allocations: 8.359 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.005468, allocations: 70.94 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005477, allocations: 12.17 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005484, allocations: 384 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.00549, allocations: 3.938 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.005534, allocations: 19.98 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.005807, allocations: 331.6 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.005956, allocations: 67.03 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.005987, allocations: 23.78 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.005998, allocations: 11.88 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.251e-05/0.006081, allocations: 72.98 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.006082, allocations: 4 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005007/0.006582, allocations: 277.1 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.006613, allocations: 55.41 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.00676, allocations: 274.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.006772, allocations: 25.7 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.00683, allocations: 166.8 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.006863, allocations: 55.72 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.006899, allocations: 39.36 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007006, allocations: 0.5 MB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.007041, allocations: 27.98 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.007089, allocations: 53.73 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.007168, allocations: 71.31 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007169, allocations: 0 / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001387/0.007308, allocations: 144.5 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.007317, allocations: 4 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.00732, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.007329, allocations: 3.984 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.007389, allocations: 28 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.007392, allocations: 4.031 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.00742, allocations: 7.984 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007426, allocations: 4 kB / 385.6 MB, free: 11.31 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 (16): * Single equations (assignments): 16 * 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.797e-05/0.007494, allocations: 172.5 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.007516, allocations: 23.86 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.007713, allocations: 159 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.007716, allocations: 4 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007718, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.007722, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.008079, allocations: 0.4965 MB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00808, allocations: 0 / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.008121, allocations: 19.98 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008124, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008132, allocations: 4 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008135, allocations: 7.938 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008136, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.008319, allocations: 321.7 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.008333, allocations: 19.89 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.008352, allocations: 3.938 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.008398, allocations: 12.06 kB / 386.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.008425, allocations: 7.984 kB / 386.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.008439, allocations: 15.98 kB / 386.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.008529, allocations: 189.4 kB / 387 MB, free: 9.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008529, allocations: 0 / 387 MB, free: 9.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008704, allocations: 35.94 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009157/0.00962, allocations: 489.9 kB / 387.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009746, allocations: 83.59 kB / 387.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009747, allocations: 0 / 387.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.009802, allocations: 58.59 kB / 387.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01002, allocations: 35.92 kB / 387.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.01037, allocations: 318 kB / 388 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01041, allocations: 83.81 kB / 388.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.01045, allocations: 21.47 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.01049, allocations: 20.5 kB / 388.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01049, allocations: 3.938 kB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of Templates: time 0.00368/0.01417, allocations: 2.363 MB / 390.5 MB, free: 6.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.1344758758787066]