Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001304/0.001304, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001991/0.003295, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001069/0.001069, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002722, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9617/0.9617, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.065, allocations: 53.86 MB / 243.9 MB, free: 14.82 MB / 250.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.2805/0.2805, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02568/0.3062, allocations: 13.24 MB / 292.8 MB, free: 6.359 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 294.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.147e-05, allocations: 4.844 kB / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002343/0.002364, allocations: 1.81 MB / 296 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.004229, allocations: 1.781 MB / 297.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.004294, allocations: 0 / 297.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.004455, allocations: 35.72 kB / 297.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.00468, allocations: 103.3 kB / 297.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.004819, allocations: 83.55 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004975, allocations: 103.7 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.005059, allocations: 15.94 kB / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.005197, allocations: 87.8 kB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005302, allocations: 31.84 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.005318, allocations: 8 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.005473, allocations: 107.8 kB / 298.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.005523, allocations: 19.92 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.005552, allocations: 15.94 kB / 298.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.005761, allocations: 143.6 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.005772, allocations: 0 / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005773, allocations: 0 / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.005784, allocations: 0 / 298.5 MB, free: 0.6094 MB / 282.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.0004802/0.006265, allocations: 360.8 kB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.006297, allocations: 8.922 kB / 298.9 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.006334, allocations: 12.92 kB / 298.9 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.00648, allocations: 142.2 kB / 299 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006496, allocations: 8.359 kB / 299 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.006517, allocations: 384 / 299 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.006659, allocations: 101.2 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.00667, allocations: 7.875 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.006681, allocations: 4 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006687, allocations: 0 / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.006711, allocations: 14.81 kB / 299.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.00691, allocations: 174 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.006996, allocations: 81.3 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.007014, allocations: 8.859 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.007024, allocations: 4 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.69e-05/0.007121, allocations: 73.98 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.007123, allocations: 7.984 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002746/0.007398, allocations: 113.6 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.007421, allocations: 55.41 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.007515, allocations: 160.3 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.00753, allocations: 29.7 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.007563, allocations: 92.11 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.007587, allocations: 27.75 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.007616, allocations: 25.69 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.007687, allocations: 322.8 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.007701, allocations: 10.83 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.007737, allocations: 57.19 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.007776, allocations: 44.53 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007777, allocations: 4.031 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.632e-05/0.007843, allocations: 76.36 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.007853, allocations: 4 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007858, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.007868, allocations: 0 / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.007933, allocations: 24.36 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.007935, allocations: 0 / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.007961, allocations: 4 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007966, allocations: 4 kB / 300.5 MB, free: 14.38 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 6.832e-05/0.008035, allocations: 120.7 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.008048, allocations: 11.92 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.008142, allocations: 74.39 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.008145, allocations: 7.984 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008147, allocations: 0 / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008151, allocations: 0 / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.008348, allocations: 283.4 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00835, allocations: 0 / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.008377, allocations: 19.98 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.008387, allocations: 7.953 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008389, allocations: 7.969 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008396, allocations: 4 kB / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.008397, allocations: 0 / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008398, allocations: 0 / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.008491, allocations: 219.5 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.008507, allocations: 11.94 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.008543, allocations: 0 / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.008566, allocations: 7.984 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.008577, allocations: 8 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.008612, allocations: 41.27 kB / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008612, allocations: 4 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.00877, allocations: 47.81 kB / 301.4 MB, free: 13.46 MB / 298.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.001581/0.01035, allocations: 0.7608 MB / 302.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.01043, allocations: 52.7 kB / 302.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01044, allocations: 4 kB / 302.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.01047, allocations: 24.84 kB / 302.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01067, allocations: 185.5 kB / 302.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.01108, allocations: 204 kB / 302.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.01112, allocations: 63.34 kB / 302.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01116, allocations: 21.14 kB / 302.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.01123, allocations: 79.34 kB / 302.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01123, allocations: 0 / 302.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Templates: time 0.003552/0.01478, allocations: 2.813 MB / 305.6 MB, free: 9.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0044439239427447]