Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001401/0.001401, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2248/0.2248, allocations: 46.12 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.00227, allocations: 76.61 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003575/0.1341, allocations: 2.012 MB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1354, allocations: 0.8144 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.1355, allocations: 0 / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.136, allocations: 179.4 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1364, allocations: 207.2 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.1373, allocations: 431.3 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1376, allocations: 283.3 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1378, allocations: 64.64 kB / 484.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.138, allocations: 119.5 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1382, allocations: 167.3 kB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.1382, allocations: 12 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1383, allocations: 47.98 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1385, allocations: 171.5 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1387, allocations: 190.4 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.1392, allocations: 426.6 kB / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1392, allocations: 7.938 kB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1392, allocations: 0 / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1392, allocations: 0 / 485.3 MB, free: 60 kB / 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.001235/0.1404, allocations: 0.8589 MB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1405, allocations: 12.02 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.1405, allocations: 42.75 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.1406, allocations: 64.12 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.1413, allocations: 0.5199 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1413, allocations: 8.359 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1414, allocations: 20.22 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1418, allocations: 159 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1418, allocations: 3.984 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1418, allocations: 4 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1418, allocations: 8 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.1423, allocations: 123.9 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1434, allocations: 0.7541 MB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.1438, allocations: 137.1 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.1441, allocations: 77.78 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1441, allocations: 3.984 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1442, allocations: 34.56 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.667e-06/0.1442, allocations: 0 / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002752/0.1469, allocations: 0.8257 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.147, allocations: 81.11 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1482, allocations: 1.071 MB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1483, allocations: 29.7 kB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.1485, allocations: 292.2 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.1486, allocations: 67.08 kB / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.1487, allocations: 29.72 kB / 490.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1488, allocations: 318 kB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.1493, allocations: 119.9 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1498, allocations: 133.6 kB / 491.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/0.1507, allocations: 257.4 kB / 491.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1507, allocations: 3.938 kB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00109/0.1518, allocations: 356.7 kB / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1518, allocations: 4 kB / 491.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1518, allocations: 0 / 491.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1518, allocations: 0 / 491.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.1522, allocations: 79.86 kB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1522, allocations: 0 / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.1524, allocations: 31.95 kB / 491.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1525, allocations: 8 kB / 491.8 MB, free: 9.293 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.0002636/0.1527, allocations: 229.9 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1529, allocations: 67.16 kB / 492.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.154, allocations: 406.7 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.154, allocations: 0 / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.154, allocations: 4 kB / 492.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1541, allocations: 7.969 kB / 492.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1559, allocations: 0.9502 MB / 493.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1559, allocations: 4 kB / 493.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.1562, allocations: 67.92 kB / 493.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1562, allocations: 0 / 493.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1562, allocations: 4 kB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1562, allocations: 0 / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1563, allocations: 7.938 kB / 493.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.1574, allocations: 0.5173 MB / 494 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1576, allocations: 164.3 kB / 494.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.1577, allocations: 4 kB / 494.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.158, allocations: 35.95 kB / 494.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.1581, allocations: 23.91 kB / 494.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1581, allocations: 4 kB / 494.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009969/0.1592, allocations: 0.7921 MB / 495 MB, free: 5.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 495 MB, free: 5.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.1596, allocations: 71.98 kB / 495.1 MB, free: 5.844 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.002965/0.1625, allocations: 1.368 MB / 496.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1636, allocations: 279.6 kB / 496.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1637, allocations: 4 kB / 496.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.1641, allocations: 143.8 kB / 496.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.1649, allocations: 89.81 kB / 497 MB, free: 4.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/0.1745, allocations: 6.311 MB / 0.4915 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.1751, allocations: 0.8893 MB / 0.4924 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1754, allocations: 95.3 kB / 0.4925 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.1756, allocations: 187.8 kB / 0.4926 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1757, allocations: 0 / 0.4926 GB, free: 12.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.2143, allocations: 11.32 MB / 0.5037 GB, free: 1.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.522, allocations: 12.38 kB / 0.5037 GB, free: 1.289 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)