Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001989/0.001989, 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.002474/0.002474, 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.437/2.437, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4528/0.4528, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 73.77 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1897, allocations: 62.45 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.005848/0.1956, allocations: 1.922 MB / 481.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1976, allocations: 0.7171 MB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1978, allocations: 4 kB / 482.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.1986, allocations: 155.6 kB / 482.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006533/0.1993, allocations: 159.5 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2005, allocations: 302.5 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.201, allocations: 227.4 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2013, allocations: 57.64 kB / 483.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.2015, allocations: 91.62 kB / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2018, allocations: 135.5 kB / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2019, allocations: 12 kB / 483.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2021, allocations: 43.97 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.2023, allocations: 103.7 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.2025, allocations: 126.9 kB / 484 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.2029, allocations: 207.9 kB / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2029, allocations: 0 / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.203, allocations: 0 / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.203, allocations: 0 / 484.2 MB, free: 1.484 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001604/0.2046, allocations: 0.6613 MB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.2047, allocations: 8.875 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2048, allocations: 40.45 kB / 484.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.2055, allocations: 362.1 kB / 485.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2055, allocations: 8.375 kB / 485.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.2056, allocations: 12.38 kB / 485.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.2063, allocations: 179.3 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2063, allocations: 0 / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.2063, allocations: 7.984 kB / 485.4 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2064, allocations: 7.938 kB / 485.4 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.2071, allocations: 147.8 kB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2086, allocations: 0.637 MB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.2092, allocations: 157.1 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.2096, allocations: 81.77 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.2097, allocations: 11.98 kB / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2097, allocations: 34.56 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.923e-06/0.2097, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.003912/0.2136, allocations: 0.7797 MB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.2137, allocations: 81.11 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.2149, allocations: 0.58 MB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.2149, allocations: 41.64 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.2151, allocations: 196.3 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.2152, allocations: 59.19 kB / 488.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2154, allocations: 37.61 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.2156, allocations: 350.8 kB / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.2163, allocations: 143.9 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.217, allocations: 150.3 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2182, allocations: 293.4 kB / 489.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2183, allocations: 4 kB / 489.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00152/0.2198, allocations: 368.9 kB / 489.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.2198, allocations: 10.34 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2199, allocations: 0 / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2199, allocations: 0 / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.2204, allocations: 67.94 kB / 489.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2204, allocations: 7.938 kB / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.2208, allocations: 43.94 kB / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2208, allocations: 4 kB / 489.7 MB, free: 11.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002789/0.2211, allocations: 185.7 kB / 489.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2212, allocations: 35.53 kB / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.2229, allocations: 420.8 kB / 490.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.223, allocations: 4.125 kB / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.223, allocations: 3.938 kB / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.223, allocations: 11.94 kB / 490.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.2255, allocations: 0.8994 MB / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2255, allocations: 0 / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.226, allocations: 67.88 kB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.226, allocations: 4 kB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2261, allocations: 8 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2261, allocations: 0 / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2261, allocations: 4 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.2277, allocations: 0.5292 MB / 491.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.2278, allocations: 116.6 kB / 492 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.2279, allocations: 8 kB / 492 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.2284, allocations: 43.94 kB / 492 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2285, allocations: 23.89 kB / 492 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.2285, allocations: 8 kB / 492 MB, free: 9.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.2293, allocations: 443.1 kB / 492.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2293, allocations: 0 / 492.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.2299, allocations: 48 kB / 492.5 MB, free: 8.762 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001491/0.2314, allocations: 406.8 kB / 492.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2329, allocations: 311.6 kB / 493.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2329, allocations: 0 / 493.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.2336, allocations: 159.8 kB / 493.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.2345, allocations: 53.91 kB / 493.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2366, allocations: 0.8234 MB / 494.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.2371, allocations: 0.8106 MB / 495.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.2373, allocations: 27.44 kB / 495.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2373, allocations: 0 / 495.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of Templates: time 0.0121/0.2494, allocations: 4.657 MB / 499.7 MB, free: 1.625 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)