Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002484/0.002484, allocations: 209.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.695/2.695, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3838/0.3838, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 75.62 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1744, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.006319/0.1808, allocations: 1.793 MB / 482 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.1843, allocations: 1.002 MB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1844, allocations: 0 / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.185, allocations: 87.75 kB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.1856, allocations: 103.7 kB / 483.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1861, allocations: 59.89 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1864, allocations: 119.6 kB / 483.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1866, allocations: 12 kB / 483.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1868, allocations: 55.77 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.187, allocations: 55.77 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.187, allocations: 8 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1872, allocations: 51.91 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.1874, allocations: 19.92 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.1875, allocations: 39.73 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1878, allocations: 100 kB / 483.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1878, allocations: 0 / 483.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1878, allocations: 0 / 483.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1879, allocations: 0 / 483.6 MB, free: 2.109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008992/0.1888, allocations: 418.9 kB / 484.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.1889, allocations: 16.03 kB / 484.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.189, allocations: 12.75 kB / 484.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1894, allocations: 212.5 kB / 484.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1894, allocations: 4.375 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.1895, allocations: 12.03 kB / 484.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1898, allocations: 49.67 kB / 484.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1898, allocations: 4 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1898, allocations: 4 kB / 484.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1899, allocations: 0 / 484.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.19, allocations: 15.98 kB / 484.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.1906, allocations: 292.9 kB / 484.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1909, allocations: 58.62 kB / 484.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.191, allocations: 20.84 kB / 484.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1911, allocations: 4 kB / 484.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.1914, allocations: 67.39 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.1915, allocations: 3.938 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009675/0.1924, allocations: 189 kB / 485 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1925, allocations: 51.41 kB / 485.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.1929, allocations: 220.3 kB / 485.3 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.193, allocations: 33.7 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1931, allocations: 108.1 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.1932, allocations: 23.66 kB / 485.4 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.1933, allocations: 29.64 kB / 485.5 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1935, allocations: 330.8 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1936, allocations: 12 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1938, allocations: 37.7 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.194, allocations: 61.78 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.194, allocations: 0 / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003671/0.1944, allocations: 113.8 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1944, allocations: 4 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1945, allocations: 0 / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1945, allocations: 4 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1947, allocations: 20 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.1947, allocations: 3.938 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.1948, allocations: 11.92 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1948, allocations: 8.031 kB / 486.1 MB, free: 15.46 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 (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 0.0001695/0.195, allocations: 129.8 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1951, allocations: 11.91 kB / 486.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.1952, allocations: 17.39 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.1952, allocations: 4 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1952, allocations: 0 / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1952, allocations: 3.938 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.1961, allocations: 399.2 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1961, allocations: 0 / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.1962, allocations: 8 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.1962, allocations: 4 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.1963, allocations: 7.938 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1963, allocations: 3.984 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1963, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.1968, allocations: 208.2 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.1969, allocations: 84.92 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.1969, allocations: 15.88 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1971, allocations: 192 / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.1972, allocations: 7.984 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.1972, allocations: 7.938 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1975, allocations: 165.2 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1976, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.1981, allocations: 27.98 kB / 487.1 MB, free: 14.27 MB / 366.1 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 (8): * Single equations (assignments): 6 * 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.002055/0.2002, allocations: 452.3 kB / 487.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.2007, allocations: 63.84 kB / 487.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2007, allocations: 4.062 kB / 487.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2009, allocations: 31.92 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.2016, allocations: 32.22 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.2025, allocations: 305.2 kB / 488 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.203, allocations: 0.708 MB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.2031, allocations: 23.38 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2031, allocations: 0 / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.00759/0.2107, allocations: 1.997 MB / 490.7 MB, free: 10.78 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches