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.001784/0.001784, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002156/0.002156, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.506/1.506, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2311/0.2311, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.002279/0.002279, allocations: 83.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003602/0.1496, allocations: 2.029 MB / 0.5576 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1511, allocations: 0.81 MB / 0.5584 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1512, allocations: 4 kB / 0.5584 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.1517, allocations: 179.4 kB / 0.5586 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.1522, allocations: 207.2 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.1531, allocations: 425.4 kB / 0.5592 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.1535, allocations: 303.2 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1536, allocations: 44.7 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1538, allocations: 119.6 kB / 0.5597 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.154, allocations: 175.3 kB / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.154, allocations: 16 kB / 0.5598 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1541, allocations: 47.98 kB / 0.5599 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1543, allocations: 175.3 kB / 0.5601 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.1545, allocations: 198.5 kB / 0.5602 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.155, allocations: 445.7 kB / 0.5607 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.155, allocations: 0 / 0.5607 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.155, allocations: 0 / 0.5607 GB, free: 1.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1551, allocations: 0 / 0.5607 GB, free: 1.281 MB / 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.001425/0.1565, allocations: 0.886 MB / 0.5615 GB, free: 348 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1565, allocations: 12.03 kB / 0.5615 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.1566, allocations: 46.69 kB / 0.5616 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.1567, allocations: 64.52 kB / 0.5617 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.1575, allocations: 0.5244 MB / 0.5622 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1575, allocations: 4.375 kB / 0.5622 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1575, allocations: 16.33 kB / 0.5622 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.1579, allocations: 155.8 kB / 0.5623 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1579, allocations: 7.938 kB / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.158, allocations: 11.88 kB / 0.5624 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.158, allocations: 4 kB / 0.5624 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.1584, allocations: 123.9 kB / 0.5625 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.1597, allocations: 0.7464 MB / 0.5632 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.1601, allocations: 141.1 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1604, allocations: 73.78 kB / 0.5634 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1604, allocations: 4 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1604, allocations: 34.5 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1604, allocations: 0 / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002714/0.1631, allocations: 0.8308 MB / 0.5643 GB, free: 13.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.1633, allocations: 77.11 kB / 0.5643 GB, free: 13.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.1646, allocations: 1.074 MB / 0.5654 GB, free: 12.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1647, allocations: 33.7 kB / 0.5654 GB, free: 12.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.1649, allocations: 292.4 kB / 0.5657 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.165, allocations: 59.48 kB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.1651, allocations: 33.7 kB / 0.5658 GB, free: 11.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1652, allocations: 314 kB / 0.5661 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.1656, allocations: 115.9 kB / 0.5662 GB, free: 11.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.1661, allocations: 137.6 kB / 0.5663 GB, free: 11.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.1669, allocations: 257.6 kB / 0.5666 GB, free: 10.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1669, allocations: 0.75 kB / 0.5666 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009819/0.1679, allocations: 360.8 kB / 0.5669 GB, free: 10.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1679, allocations: 10.69 kB / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1679, allocations: 0 / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1679, allocations: 3.938 kB / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1683, allocations: 75.86 kB / 0.567 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1683, allocations: 4 kB / 0.567 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.1685, allocations: 39.95 kB / 0.567 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.1685, allocations: 4 kB / 0.567 GB, free: 10.46 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.0002713/0.1688, allocations: 229.7 kB / 0.5673 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1689, allocations: 75.47 kB / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.17, allocations: 402.8 kB / 0.5677 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1701, allocations: 0 / 0.5677 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1701, allocations: 0 / 0.5677 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1701, allocations: 4 kB / 0.5677 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.1719, allocations: 0.9541 MB / 0.5687 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1719, allocations: 0 / 0.5687 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.1722, allocations: 71.92 kB / 0.5687 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1722, allocations: 0 / 0.5687 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1722, allocations: 4 kB / 0.5687 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1722, allocations: 0 / 0.5687 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1722, allocations: 0 / 0.5687 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1733, allocations: 0.5214 MB / 0.5692 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.1735, allocations: 172.6 kB / 0.5694 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.1736, allocations: 0 / 0.5694 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.1739, allocations: 43.95 kB / 0.5694 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.1739, allocations: 19.97 kB / 0.5695 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.174, allocations: 11.94 kB / 0.5695 GB, free: 7.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009919/0.1749, allocations: 0.7919 MB / 0.5702 GB, free: 7.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1749, allocations: 3.938 kB / 0.5702 GB, free: 7.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.1753, allocations: 59.94 kB / 0.5703 GB, free: 7.016 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.002808/0.1781, allocations: 1.362 MB / 0.5716 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009224/0.179, allocations: 270 kB / 0.5719 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1791, allocations: 0 / 0.5719 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.1795, allocations: 147.9 kB / 0.572 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.1801, allocations: 96.45 kB / 0.5721 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.1891, allocations: 6.07 MB / 0.5781 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1896, allocations: 0.8816 MB / 0.5789 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.1898, allocations: 95.44 kB / 0.579 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.1901, allocations: 191.4 kB / 0.5792 GB, free: 13.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1901, allocations: 0 / 0.5792 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.2284, allocations: 11.57 MB / 0.5905 GB, free: 2.449 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.923/9.152, allocations: 9.297 kB / 0.5905 GB, free: 2.445 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.430898582097143] Failed to read output from testmodel.py, exit status != 0: 9.280220338143408 9.57524987 9.417495405 Calling exit ...