Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001068/0.001068, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001348/0.001348, allocations: 156.9 kB / 25.61 MB, free: 8.887 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.005/1.005, allocations: 177 MB / 205.9 MB, free: 4.434 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.1623/0.1623, allocations: 34.87 MB / 297.4 MB, free: 13.43 MB / 282.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.296e-05, allocations: 2.312 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002238/0.002271, allocations: 1.753 MB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003396, allocations: 0.9984 MB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.003486, allocations: 3.938 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.003759, allocations: 43.83 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.004032, allocations: 107.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.004227, allocations: 79.59 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.004365, allocations: 111.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.004455, allocations: 7.984 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.00453, allocations: 47.84 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.004598, allocations: 31.89 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004612, allocations: 4 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.00468, allocations: 43.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.004721, allocations: 35.86 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.00475, allocations: 15.94 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.004883, allocations: 115.5 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004886, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004886, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.00489, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.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.0003258/0.005216, allocations: 463.7 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.005244, allocations: 8.031 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.005277, allocations: 16.84 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005396, allocations: 153.2 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.005413, allocations: 16.31 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.005428, allocations: 384 / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.069e-05/0.005519, allocations: 58.94 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.005528, allocations: 192 / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.005535, allocations: 4.375 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.00554, allocations: 3.938 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.005564, allocations: 11.98 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.005759, allocations: 256.4 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.005837, allocations: 55.09 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005856, allocations: 15.69 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005868, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.005952, allocations: 61.05 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005953, allocations: 4 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002877/0.00624, allocations: 153.5 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.006259, allocations: 55.34 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.006351, allocations: 252.9 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.006359, allocations: 29.7 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.006395, allocations: 162.8 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.006415, allocations: 19.83 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.006444, allocations: 39.3 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.00649, allocations: 0.5001 MB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.006507, allocations: 7.984 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.006533, allocations: 35.34 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.006573, allocations: 39.44 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006574, allocations: 4 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.561e-05/0.006659, allocations: 93.45 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.00667, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.006676, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.006685, allocations: 4.031 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.006744, allocations: 19.92 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.006747, allocations: 0 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.006774, allocations: 4 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.006778, allocations: 0 / 386 MB, free: 16.53 MB / 314.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 4.625e-05/0.006825, allocations: 164.6 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.006839, allocations: 19.84 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.006946, allocations: 103.1 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006949, allocations: 4 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00695, allocations: 4 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006954, allocations: 0 / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.007141, allocations: 369.5 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.007143, allocations: 0 / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.007168, allocations: 11.98 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007171, allocations: 7.984 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007176, allocations: 0 / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007177, allocations: 0 / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007179, allocations: 4 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.007264, allocations: 255.7 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.007274, allocations: 11.98 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.007288, allocations: 4 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.007328, allocations: 3.984 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.007351, allocations: 19.91 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.007362, allocations: 4 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.007405, allocations: 171.1 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007405, allocations: 0 / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.007566, allocations: 27.98 kB / 387.2 MB, free: 15.29 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.0008282/0.008394, allocations: 429 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.643e-05/0.008481, allocations: 55.59 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008482, allocations: 0 / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.008508, allocations: 31.66 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.008718, allocations: 31.92 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.008988, allocations: 245.3 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.448e-05/0.009012, allocations: 63.34 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.009045, allocations: 21.09 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.009095, allocations: 90.19 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009096, allocations: 0 / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.003205/0.0123, allocations: 2.084 MB / 390.2 MB, free: 12.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.3735743071883917]