Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.28/2.28, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3994/0.3994, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 81.41 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.179, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004948/0.184, allocations: 1.808 MB / 481.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1864, allocations: 1.025 MB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1866, allocations: 0 / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1871, allocations: 99.8 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1876, allocations: 115.6 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.188, allocations: 63.86 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1883, allocations: 123.7 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1884, allocations: 15.97 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1886, allocations: 55.72 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1888, allocations: 71.73 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1888, allocations: 0 / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.1891, allocations: 59.98 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.1892, allocations: 31.84 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1893, allocations: 51.61 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1896, allocations: 112.1 kB / 483.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1896, allocations: 4 kB / 483.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1896, allocations: 0 / 483.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1896, allocations: 3.938 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008337/0.1904, allocations: 454.7 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.1905, allocations: 8.031 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.1906, allocations: 20.83 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.191, allocations: 220.9 kB / 484.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.191, allocations: 384 / 484.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1911, allocations: 16.06 kB / 484.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1913, allocations: 65.66 kB / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1913, allocations: 0 / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1914, allocations: 0 / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1914, allocations: 0 / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1915, allocations: 35.97 kB / 484.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.1921, allocations: 324.7 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.1925, allocations: 74.53 kB / 484.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1926, allocations: 28.84 kB / 484.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1926, allocations: 3.938 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.193, allocations: 79.42 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.193, allocations: 0 / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001154/0.1941, allocations: 280.9 kB / 485.1 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.1942, allocations: 59.33 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.1946, allocations: 255.8 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1947, allocations: 33.7 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.1948, allocations: 108.1 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.1948, allocations: 43.45 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.1949, allocations: 25.72 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1951, allocations: 334.8 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1952, allocations: 31.98 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1953, allocations: 49.08 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1956, allocations: 97.58 kB / 486.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1956, allocations: 0 / 486.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003623/0.196, allocations: 141.5 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.196, allocations: 8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.196, allocations: 3.938 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.196, allocations: 0 / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1962, allocations: 23.98 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.1962, allocations: 3.938 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.1963, allocations: 4 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1963, allocations: 8 kB / 486.3 MB, free: 15.02 MB / 366.1 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 (14): * Single equations (assignments): 14 * 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 0.000158/0.1965, allocations: 145.8 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.1965, allocations: 11.81 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/0.1966, allocations: 33.33 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1966, allocations: 0 / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1967, allocations: 3.938 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1967, allocations: 0 / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.1975, allocations: 483.9 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1975, allocations: 0 / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.1976, allocations: 23.92 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1976, allocations: 0 / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1976, allocations: 8 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1976, allocations: 0 / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1976, allocations: 0 / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.198, allocations: 253 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1981, allocations: 89.02 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.1982, allocations: 7.938 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1983, allocations: 11.98 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1984, allocations: 7.984 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1984, allocations: 4 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.1986, allocations: 197.5 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1987, allocations: 4 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.1991, allocations: 35.98 kB / 487.6 MB, free: 13.62 MB / 366.1 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 (12): * Single equations (assignments): 10 * 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.001752/0.2009, allocations: 498.4 kB / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.2012, allocations: 87.91 kB / 488.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2012, allocations: 0 / 488.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2014, allocations: 44.11 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.2019, allocations: 39.84 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.2028, allocations: 384.3 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2032, allocations: 0.7242 MB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.2033, allocations: 23.42 kB / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2033, allocations: 0 / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006692/0.21, allocations: 2.42 MB / 491.8 MB, free: 9.543 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches