Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 46.91 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 0.4916 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 65.99 MB / 0.5561 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003849/0.1606, allocations: 1.876 MB / 0.5579 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.162, allocations: 0.717 MB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1622, allocations: 0 / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.1627, allocations: 167.5 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.1632, allocations: 183.2 kB / 0.5589 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1641, allocations: 326.3 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.1645, allocations: 235.5 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1646, allocations: 53.62 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1648, allocations: 99.61 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1651, allocations: 155.5 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1651, allocations: 12 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1652, allocations: 47.98 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1654, allocations: 119.5 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1655, allocations: 123 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.166, allocations: 302.5 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.166, allocations: 0 / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.166, allocations: 0 / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.723e-05/0.1661, allocations: 0 / 0.5603 GB, free: 1.391 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.001191/0.1673, allocations: 0.6921 MB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1673, allocations: 8.031 kB / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.1673, allocations: 4.188 kB / 0.561 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.1674, allocations: 50.73 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.1675, allocations: 36.7 kB / 0.5611 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.168, allocations: 378.5 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.168, allocations: 8.375 kB / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.168, allocations: 8.125 kB / 0.5615 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.1685, allocations: 182.5 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1686, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1686, allocations: 8 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1686, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.1691, allocations: 151.8 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1704, allocations: 0.6566 MB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.1708, allocations: 153.1 kB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.1711, allocations: 73.78 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1711, allocations: 7.984 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1712, allocations: 34.56 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.1712, allocations: 0 / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.003015/0.1742, allocations: 0.8002 MB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1742, allocations: 81.11 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.175, allocations: 0.5994 MB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1751, allocations: 37.64 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1753, allocations: 200.5 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.1754, allocations: 71.72 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.1754, allocations: 33.66 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1756, allocations: 362.7 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.1761, allocations: 139.9 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.1766, allocations: 147.5 kB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.1776, allocations: 297.3 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1776, allocations: 0 / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001311/0.1789, allocations: 373.1 kB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1789, allocations: 4 kB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.179, allocations: 0 / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.179, allocations: 4 kB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.1793, allocations: 68.67 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1793, allocations: 0 / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.1796, allocations: 39.95 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1796, allocations: 4 kB / 0.5659 GB, free: 11.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.0002299/0.1799, allocations: 193.7 kB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.18, allocations: 39.77 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.1814, allocations: 420.7 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1814, allocations: 4 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1814, allocations: 4 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1814, allocations: 0 / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.1833, allocations: 0.9191 MB / 0.5674 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.1834, allocations: 4 kB / 0.5674 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.1837, allocations: 67.86 kB / 0.5675 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.1837, allocations: 4 kB / 0.5675 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1838, allocations: 0 / 0.5675 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.1838, allocations: 4 kB / 0.5675 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.1838, allocations: 3.938 kB / 0.5675 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.185, allocations: 0.5314 MB / 0.568 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1852, allocations: 132.8 kB / 0.5681 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.1853, allocations: 3.938 kB / 0.5681 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.1856, allocations: 39.95 kB / 0.5682 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.1857, allocations: 27.84 kB / 0.5682 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1857, allocations: 4 kB / 0.5682 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.1863, allocations: 451.1 kB / 0.5686 GB, free: 8.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1863, allocations: 0 / 0.5686 GB, free: 8.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.1868, allocations: 59.92 kB / 0.5687 GB, free: 8.473 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.003227/0.19, allocations: 1.373 MB / 0.57 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.1913, allocations: 301.8 kB / 0.5703 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1913, allocations: 0 / 0.5703 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.1919, allocations: 155.8 kB / 0.5705 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.1925, allocations: 58.7 kB / 0.5705 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/0.2003, allocations: 4.334 MB / 0.5747 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.201, allocations: 0.8146 MB / 0.5755 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.2013, allocations: 70.19 kB / 0.5756 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.2016, allocations: 119.4 kB / 0.5757 GB, free: 1.273 MB / 430.1 MB Notification: Performance of SimCode: time 2.174e-06/0.2016, allocations: 3.938 kB / 0.5757 GB, free: 1.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.2309, allocations: 7.99 MB / 0.5835 GB, free: 9.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.92/9.151, allocations: 10.8 kB / 0.5835 GB, free: 9.375 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.387290853948798] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.337439413997345 9.606184914 9.43728458 Calling exit ...