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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002269/0.002269, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002278/0.002278, allocations: 83.84 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.15, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003951/0.154, allocations: 2.015 MB / 0.5581 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1555, allocations: 0.8061 MB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.1556, allocations: 4 kB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.1561, allocations: 179.4 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.1566, allocations: 219.1 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.1576, allocations: 417.1 kB / 0.5597 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.158, allocations: 307.1 kB / 0.56 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1582, allocations: 48.7 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1583, allocations: 127.4 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1586, allocations: 175.3 kB / 0.5603 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1586, allocations: 16 kB / 0.5604 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1587, allocations: 47.98 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1589, allocations: 175.4 kB / 0.5606 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.1591, allocations: 194.4 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1596, allocations: 445.8 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1597, allocations: 0 / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1597, allocations: 0 / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1597, allocations: 0 / 0.5612 GB, free: 408 kB / 414.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.001403/0.1611, allocations: 0.8899 MB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1611, allocations: 12.03 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.1612, allocations: 46.72 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1613, allocations: 68.52 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.1621, allocations: 0.5243 MB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1621, allocations: 4.375 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1621, allocations: 16.33 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.1625, allocations: 155.8 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1626, allocations: 7.875 kB / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1626, allocations: 8 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1626, allocations: 4 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.1631, allocations: 127.9 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1642, allocations: 0.7503 MB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.1646, allocations: 125.4 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.1649, allocations: 77.78 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1649, allocations: 7.922 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.165, allocations: 38.5 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.165, allocations: 0 / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002768/0.1677, allocations: 0.823 MB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.1678, allocations: 77.11 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.1692, allocations: 1.082 MB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1692, allocations: 29.7 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.1695, allocations: 292.3 kB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1696, allocations: 59.53 kB / 0.5663 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.1696, allocations: 33.7 kB / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1698, allocations: 314 kB / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.1703, allocations: 115.9 kB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.1708, allocations: 145.5 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/0.1717, allocations: 250.3 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1717, allocations: 0 / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001161/0.1728, allocations: 365 kB / 0.5674 GB, free: 9.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1729, allocations: 4.094 kB / 0.5674 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1729, allocations: 3.938 kB / 0.5674 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1729, allocations: 0 / 0.5674 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.1732, allocations: 71.88 kB / 0.5675 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1732, allocations: 4 kB / 0.5675 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.1735, allocations: 47.88 kB / 0.5676 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1735, allocations: 4 kB / 0.5676 GB, free: 9.578 MB / 430.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.0002817/0.1738, allocations: 229.7 kB / 0.5678 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.174, allocations: 71.47 kB / 0.5678 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1752, allocations: 402.8 kB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1752, allocations: 0 / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1752, allocations: 4 kB / 0.5682 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1752, allocations: 0 / 0.5682 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1771, allocations: 0.9579 MB / 0.5692 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1771, allocations: 0 / 0.5692 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.1774, allocations: 63.94 kB / 0.5692 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1774, allocations: 4 kB / 0.5692 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.1774, allocations: 7.984 kB / 0.5692 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1774, allocations: 0 / 0.5692 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1774, allocations: 3.938 kB / 0.5692 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.1786, allocations: 0.5278 MB / 0.5698 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.1789, allocations: 164.7 kB / 0.5699 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.1789, allocations: 0 / 0.5699 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.1792, allocations: 47.94 kB / 0.57 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.1793, allocations: 15.98 kB / 0.57 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1793, allocations: 15.92 kB / 0.57 GB, free: 6.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009829/0.1803, allocations: 0.788 MB / 0.5708 GB, free: 6.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1803, allocations: 0 / 0.5708 GB, free: 6.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000387/0.1807, allocations: 63.94 kB / 0.5708 GB, free: 6.129 MB / 430.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.002841/0.1836, allocations: 1.363 MB / 0.5722 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1846, allocations: 278 kB / 0.5724 GB, free: 4.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1846, allocations: 0 / 0.5724 GB, free: 4.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.1851, allocations: 139.8 kB / 0.5726 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.1858, allocations: 86.75 kB / 0.5726 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/0.195, allocations: 6.063 MB / 0.5786 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.1956, allocations: 0.8855 MB / 0.5794 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.1958, allocations: 91.3 kB / 0.5795 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.1961, allocations: 191.4 kB / 0.5797 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1961, allocations: 0 / 0.5797 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.234, allocations: 11.59 MB / 0.591 GB, free: 1.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.06, allocations: 4 kB / 0.591 GB, free: 1.551 MB / 446.1 MB " [Timeout remaining time 651] (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.0009994 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.472399667836726] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.194216390140355 9.430901155 9.268487711 Calling exit ...