Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.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.001258/0.001258, allocations: 116.2 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.001375/0.001375, allocations: 205 kB / 21.45 MB, free: 1.652 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 15.04 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.2306/0.2306, allocations: 46.93 MB / 357.7 MB, free: 10.31 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.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear",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.002351/0.002351, allocations: 80.2 kB / 0.4916 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 66.04 MB / 0.5561 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0016/0.1447, allocations: 494.4 kB / 0.5566 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.1485, allocations: 2.31 MB / 0.5589 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-06/0.1485, allocations: 0 / 0.5589 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-06/0.1485, allocations: 0 / 0.5589 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.1485, allocations: 0 / 0.5589 GB, free: 2.871 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.1507, allocations: 0.6301 MB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.1508, allocations: 4 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.899e-05/0.1508, allocations: 4 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1509, allocations: 23.92 kB / 0.5595 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.151, allocations: 7.984 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-06/0.151, allocations: 0 / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1523, allocations: 0.6593 MB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.1523, allocations: 0 / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.1523, allocations: 11.94 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.153, allocations: 447 kB / 0.5606 GB, free: 1.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.153, allocations: 4 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.153, allocations: 0 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.153, allocations: 0 / 0.5606 GB, free: 1.094 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005296/0.1535, allocations: 432.4 kB / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1536, allocations: 12.03 kB / 0.561 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.1536, allocations: 110 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1538, allocations: 80.2 kB / 0.5612 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.154, allocations: 235.7 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1541, allocations: 158.9 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.1542, allocations: 158.5 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1544, allocations: 105 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.1544, allocations: 75.28 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.1545, allocations: 150.6 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.1545, allocations: 162.6 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.1546, allocations: 154.6 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.155, allocations: 449.9 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1551, allocations: 169.1 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.1551, allocations: 92.08 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1552, allocations: 75.28 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/0.1553, allocations: 131.5 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.1553, allocations: 0 / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.308e-05/0.1553, allocations: 33.64 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.1554, allocations: 152.4 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.1555, allocations: 89.86 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1555, allocations: 29.7 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.1556, allocations: 84.14 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1556, allocations: 0 / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1556, allocations: 17.7 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1557, allocations: 314.8 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-06/0.1557, allocations: 0 / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.1558, allocations: 0 / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.1558, allocations: 79.28 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.717e-05/0.1558, allocations: 79.31 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.227e-05/0.1559, allocations: 33.58 kB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.156, allocations: 83.28 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/0.156, allocations: 75.28 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.465e-05/0.1561, allocations: 150.6 kB / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.1561, allocations: 83.2 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.108e-05/0.1562, allocations: 154.6 kB / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.1563, allocations: 91.2 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.1563, allocations: 75.28 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001564/0.1565, allocations: 260.4 kB / 0.565 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.1566, allocations: 104.9 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.1566, allocations: 115.8 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002084/0.1568, allocations: 184.3 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.594e-05/0.1569, allocations: 188.2 kB / 0.5656 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-05/0.157, allocations: 176.3 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.1574, allocations: 409.1 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.1574, allocations: 104.9 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.1575, allocations: 101 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.811e-05/0.1576, allocations: 184.2 kB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.1577, allocations: 184.3 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.474e-05/0.1578, allocations: 180.2 kB / 0.5669 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001332/0.1579, allocations: 184.1 kB / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1582, allocations: 311.7 kB / 0.5673 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.1583, allocations: 182.1 kB / 0.5675 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.1585, allocations: 180.3 kB / 0.5677 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1586, allocations: 104.9 kB / 0.5678 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.1587, allocations: 184.3 kB / 0.568 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.1588, allocations: 104.9 kB / 0.5681 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.1588, allocations: 79.28 kB / 0.5681 GB, free: 8.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1588, allocations: 0 / 0.5681 GB, free: 8.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006536/0.1595, allocations: 143.6 kB / 0.5683 GB, free: 8.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001297/0.1608, allocations: 1.039 MB / 0.5693 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.033e-05/0.1608, allocations: 3.938 kB / 0.5693 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1608, allocations: 0 / 0.5693 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-06/0.1608, allocations: 4 kB / 0.5693 GB, free: 7.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1612, allocations: 463.6 kB / 0.5697 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1617, allocations: 245.7 kB / 0.57 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.162, allocations: 0.669 MB / 0.5706 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.101e-06/0.162, allocations: 3.938 kB / 0.5706 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.162, allocations: 7.438 kB / 0.5706 GB, free: 6.219 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.162, allocations: 0 / 0.5706 GB, free: 6.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.1924, allocations: 4.188 MB / 0.5747 GB, free: 2.105 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.311, allocations: 15.05 kB / 0.5747 GB, free: 2.094 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.412394702900201] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.381913340184838 8.405945347 8.248513876 Calling exit ...