Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001277/0.001277, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001378/0.001378, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2509/0.2509, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002344/0.002344, allocations: 83.88 kB / 0.4912 GB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 65.98 MB / 0.5557 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003612/0.1482, allocations: 1.883 MB / 0.5575 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1495, allocations: 0.7087 MB / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.1495, allocations: 7.938 kB / 0.5582 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.15, allocations: 171.5 kB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1504, allocations: 179.2 kB / 0.5585 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.1512, allocations: 328.8 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1515, allocations: 239.4 kB / 0.5591 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1517, allocations: 45.66 kB / 0.5591 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1518, allocations: 103.7 kB / 0.5592 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.152, allocations: 151.5 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.1521, allocations: 12 kB / 0.5594 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1522, allocations: 55.91 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1523, allocations: 107.7 kB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1525, allocations: 127 kB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.1529, allocations: 306.4 kB / 0.5599 GB, free: 1.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1529, allocations: 4 kB / 0.56 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1529, allocations: 4 kB / 0.56 GB, free: 1.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1529, allocations: 0 / 0.56 GB, free: 1.977 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.001105/0.154, allocations: 0.6766 MB / 0.5606 GB, free: 1.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1541, allocations: 12.03 kB / 0.5606 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.1541, allocations: 42.73 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.1542, allocations: 36.7 kB / 0.5607 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.1547, allocations: 382.4 kB / 0.5611 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1548, allocations: 12.38 kB / 0.5611 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.1548, allocations: 8.375 kB / 0.5611 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.1552, allocations: 167.8 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1553, allocations: 7.938 kB / 0.5613 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1553, allocations: 0 / 0.5613 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1553, allocations: 0 / 0.5613 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.1558, allocations: 163.7 kB / 0.5614 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1569, allocations: 0.6488 MB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1573, allocations: 153.1 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1575, allocations: 81.77 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.1575, allocations: 8 kB / 0.5623 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1576, allocations: 30.56 kB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1576, allocations: 0 / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002604/0.1602, allocations: 0.7963 MB / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1602, allocations: 93.03 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.161, allocations: 0.5917 MB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.161, allocations: 33.7 kB / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1612, allocations: 200.4 kB / 0.564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.1612, allocations: 63.44 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.1613, allocations: 37.7 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1615, allocations: 354.8 kB / 0.5644 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.162, allocations: 136 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.1624, allocations: 159.2 kB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.1633, allocations: 293.4 kB / 0.565 GB, free: 12.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1633, allocations: 4 kB / 0.565 GB, free: 12.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/0.1643, allocations: 373 kB / 0.5653 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1643, allocations: 4.219 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1643, allocations: 0.75 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1644, allocations: 11.92 kB / 0.5653 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1647, allocations: 63.92 kB / 0.5654 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1647, allocations: 8.094 kB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1649, allocations: 35.95 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.165, allocations: 11.97 kB / 0.5655 GB, free: 12.05 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.0002371/0.1652, allocations: 181.8 kB / 0.5656 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.1653, allocations: 47.7 kB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1665, allocations: 420.5 kB / 0.5661 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1665, allocations: 8 kB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1665, allocations: 0 / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1665, allocations: 3.938 kB / 0.5661 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.1683, allocations: 0.9153 MB / 0.567 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1683, allocations: 7.984 kB / 0.567 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.1686, allocations: 63.88 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1686, allocations: 0 / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1686, allocations: 8 kB / 0.5671 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1686, allocations: 4 kB / 0.5671 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1686, allocations: 0 / 0.5671 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1698, allocations: 0.5315 MB / 0.5676 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.17, allocations: 132.8 kB / 0.5677 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1701, allocations: 4 kB / 0.5677 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.1703, allocations: 39.95 kB / 0.5678 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.1704, allocations: 23.97 kB / 0.5678 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1704, allocations: 7.938 kB / 0.5678 GB, free: 9.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005609/0.171, allocations: 447.1 kB / 0.5682 GB, free: 9.133 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 4 kB / 0.5682 GB, free: 9.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.1714, allocations: 47.98 kB / 0.5683 GB, free: 9.082 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.003397/0.1748, allocations: 1.372 MB / 0.5696 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.1758, allocations: 299.7 kB / 0.5699 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1758, allocations: 0 / 0.5699 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.1763, allocations: 159.8 kB / 0.57 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.1769, allocations: 48.34 kB / 0.5701 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.1839, allocations: 4.342 MB / 0.5743 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.1845, allocations: 0.8104 MB / 0.5751 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.1847, allocations: 74.55 kB / 0.5752 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1849, allocations: 123.1 kB / 0.5753 GB, free: 1.875 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1849, allocations: 0 / 0.5753 GB, free: 1.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.2186, allocations: 7.96 MB / 0.5831 GB, free: 10.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/8.857, allocations: 6.438 kB / 0.5831 GB, free: 10.01 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.109026200138032] Failed to read output from testmodel.py, exit status != 0: 8.981381630990654 9.218402338 9.062412952 Calling exit ...