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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 74.02 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 62.43 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.0036/0.1296, allocations: 1.884 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1311, allocations: 0.7053 MB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1313, allocations: 0 / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.1319, allocations: 171.4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.1325, allocations: 179.4 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.1333, allocations: 329.6 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1337, allocations: 235.4 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1339, allocations: 61.64 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1341, allocations: 103.6 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1343, allocations: 139.6 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.1343, allocations: 12 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1344, allocations: 43.98 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1346, allocations: 111.7 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1347, allocations: 127 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.135, allocations: 295.2 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1351, allocations: 0 / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1351, allocations: 0 / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1351, allocations: 3.938 kB / 484.5 MB, free: 0.7969 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.0009574/0.136, allocations: 0.669 MB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1361, allocations: 8.031 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.1361, allocations: 46.73 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.1362, allocations: 44.64 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1367, allocations: 374 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1367, allocations: 8.375 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1367, allocations: 16.31 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.1372, allocations: 172.5 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1372, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1372, allocations: 8 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1372, allocations: 4 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.1377, allocations: 147.8 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009861/0.1387, allocations: 0.6567 MB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1391, allocations: 153.1 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1394, allocations: 85.77 kB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1394, allocations: 3.984 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.1395, allocations: 34.56 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1395, allocations: 4 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002706/0.1422, allocations: 0.7878 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1422, allocations: 81.11 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.1429, allocations: 0.5994 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1429, allocations: 33.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1431, allocations: 200.3 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.1432, allocations: 67.17 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.1432, allocations: 33.72 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1434, allocations: 358.8 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.1439, allocations: 135.8 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.1444, allocations: 156.1 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.1453, allocations: 293.4 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1453, allocations: 7.938 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.1464, allocations: 364.9 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1465, allocations: 4 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1465, allocations: 4 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1465, allocations: 4 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.1468, allocations: 67.92 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1469, allocations: 0 / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1471, allocations: 31.95 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1471, allocations: 12 kB / 490.1 MB, free: 10.91 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.0001797/0.1473, allocations: 193.7 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.1474, allocations: 39.53 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.1486, allocations: 416.7 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1486, allocations: 4 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1486, allocations: 0 / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1487, allocations: 0 / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.1503, allocations: 0.9191 MB / 491.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1503, allocations: 0 / 491.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.1506, allocations: 67.86 kB / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1507, allocations: 0 / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1507, allocations: 8 kB / 491.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1507, allocations: 0 / 491.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1507, allocations: 8.094 kB / 491.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1518, allocations: 0.5293 MB / 492.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1519, allocations: 124.6 kB / 492.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.152, allocations: 8 kB / 492.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1523, allocations: 40.27 kB / 492.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.1524, allocations: 27.91 kB / 492.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1524, allocations: 4 kB / 492.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005024/0.1529, allocations: 451.3 kB / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1533, allocations: 47.98 kB / 493 MB, free: 7.938 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.002367/0.1556, allocations: 1.382 MB / 494.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1567, allocations: 317.8 kB / 494.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1567, allocations: 0 / 494.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.1572, allocations: 167.7 kB / 494.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.1578, allocations: 55.14 kB / 494.9 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.1647, allocations: 4.364 MB / 499.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1652, allocations: 0.818 MB / 0.4883 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.1654, allocations: 74.53 kB / 0.4884 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1656, allocations: 119.8 kB / 0.4885 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1656, allocations: 0 / 0.4885 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.191, allocations: 7.768 MB / 0.4961 GB, free: 8.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.131, allocations: 13.12 kB / 0.4961 GB, free: 8.977 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)