Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.000932/0.000932, allocations: 75.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.001348/0.001348, allocations: 163.8 kB / 24.99 MB, free: 9.285 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.9486/0.9486, allocations: 177 MB / 205.2 MB, free: 5.617 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.2541/0.2541, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.924e-05, allocations: 2.312 kB / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002103/0.002122, allocations: 1.761 MB / 380.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003387, allocations: 1.012 MB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.003474, allocations: 0 / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.003774, allocations: 55.69 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.004044, allocations: 103.5 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.004217, allocations: 75.66 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004365, allocations: 115.6 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.004447, allocations: 4 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.004523, allocations: 51.83 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.004587, allocations: 31.84 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.004602, allocations: 4 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.004679, allocations: 47.91 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.00473, allocations: 31.86 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.004766, allocations: 19.94 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004945, allocations: 119.5 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004948, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004948, allocations: 4 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004952, allocations: 0 / 382.3 MB, free: 14.86 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.0005015/0.005454, allocations: 479.6 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.005494, allocations: 11.97 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.005552, allocations: 24.83 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.005747, allocations: 160.3 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.005764, allocations: 4.375 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.005782, allocations: 4.312 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.005904, allocations: 62.94 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.005915, allocations: 192 / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.005927, allocations: 8.375 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.005938, allocations: 11.92 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.005976, allocations: 11.98 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.006285, allocations: 299.8 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.006383, allocations: 55.16 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.006412, allocations: 15.69 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.006423, allocations: 0 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.441e-05/0.006517, allocations: 72.92 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.006518, allocations: 0 / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003633/0.006881, allocations: 181.2 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.006912, allocations: 51.41 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.007087, allocations: 280 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.0071, allocations: 29.7 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.007167, allocations: 162.9 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.007193, allocations: 27.78 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.007226, allocations: 31.38 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.007346, allocations: 0.504 MB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.007369, allocations: 8 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.007404, allocations: 39.34 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.007459, allocations: 51.31 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.00746, allocations: 0 / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001094/0.00757, allocations: 97.52 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007583, allocations: 10.81 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.007587, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.007598, allocations: 3.938 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.007665, allocations: 12 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.00767, allocations: 4 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.007698, allocations: 3.984 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.007705, allocations: 8.031 kB / 384.9 MB, free: 11.96 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.014e-05/0.007775, allocations: 160.6 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.007795, allocations: 27.8 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.007945, allocations: 107.1 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007948, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007952, allocations: 3.938 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007955, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.008245, allocations: 409.3 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.008248, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.008275, allocations: 20.02 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.008278, allocations: 0 / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.008285, allocations: 0 / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008286, allocations: 7.938 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008287, allocations: 0 / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.008434, allocations: 259.4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.00845, allocations: 19.91 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.008466, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.008508, allocations: 7.984 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.008537, allocations: 4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.008551, allocations: 11.98 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.00865, allocations: 199.5 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00865, allocations: 0 / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.008827, allocations: 27.94 kB / 386.2 MB, free: 10.63 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.0008844/0.009712, allocations: 428.7 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.009821, allocations: 55.53 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009823, allocations: 0 / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.009869, allocations: 35.61 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.0101, allocations: 40.05 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.01044, allocations: 270.4 kB / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.01048, allocations: 71.33 kB / 387.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.01051, allocations: 21.27 kB / 387.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.01054, allocations: 24.48 kB / 387.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01054, allocations: 4 kB / 387.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of Templates: time 0.003415/0.01396, allocations: 1.889 MB / 389 MB, free: 7.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.0875476009678096]