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.001709/0.001709, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00216/0.00216, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.475/1.475, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2331/0.2331, 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.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.002155/0.002155, allocations: 75.88 kB / 0.4912 GB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.149, allocations: 65.97 MB / 0.5556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00202/0.151, allocations: 0.491 MB / 0.5561 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004881/0.1559, allocations: 2.299 MB / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-06/0.1559, allocations: 0 / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.272e-06/0.1559, allocations: 0 / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.904e-06/0.1559, allocations: 0 / 0.5584 GB, free: 3.637 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.003083/0.159, allocations: 0.6413 MB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.159, allocations: 12 kB / 0.559 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.159, allocations: 0 / 0.559 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1592, allocations: 19.92 kB / 0.559 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.1593, allocations: 7.984 kB / 0.559 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.1593, allocations: 0 / 0.559 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1608, allocations: 0.6671 MB / 0.5597 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.1609, allocations: 0 / 0.5597 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1609, allocations: 8 kB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1619, allocations: 455 kB / 0.5601 GB, free: 1.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1619, allocations: 0 / 0.5601 GB, free: 1.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1619, allocations: 4 kB / 0.5601 GB, free: 1.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1619, allocations: 3.938 kB / 0.5601 GB, free: 1.832 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.0006656/0.1626, allocations: 424.5 kB / 0.5605 GB, free: 1.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.1627, allocations: 12.03 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.1627, allocations: 106 kB / 0.5606 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1628, allocations: 80.2 kB / 0.5607 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1631, allocations: 239.7 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/0.1631, allocations: 154.9 kB / 0.5611 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.1632, allocations: 154.5 kB / 0.5612 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.1633, allocations: 104.9 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.1634, allocations: 75.28 kB / 0.5614 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.483e-05/0.1635, allocations: 154.6 kB / 0.5616 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.65e-05/0.1635, allocations: 158.6 kB / 0.5617 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1636, allocations: 154.6 kB / 0.5619 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1641, allocations: 445.9 kB / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1643, allocations: 173 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.1643, allocations: 96.08 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.1644, allocations: 75.28 kB / 0.5626 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.1645, allocations: 135.5 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.1645, allocations: 0 / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.1645, allocations: 25.7 kB / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.1646, allocations: 152.4 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.1647, allocations: 93.86 kB / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1647, allocations: 29.7 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.1648, allocations: 80.14 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1648, allocations: 0 / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1648, allocations: 17.7 kB / 0.5631 GB, free: 14.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1649, allocations: 314.8 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.165, allocations: 3.938 kB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.165, allocations: 4 kB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.165, allocations: 79.31 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/0.1651, allocations: 75.28 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.948e-05/0.1651, allocations: 29.64 kB / 0.5636 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.1652, allocations: 83.28 kB / 0.5637 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.1652, allocations: 79.22 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.374e-05/0.1653, allocations: 154.5 kB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.1653, allocations: 75.28 kB / 0.564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.54e-05/0.1654, allocations: 162.5 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.1655, allocations: 79.28 kB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.1655, allocations: 79.22 kB / 0.5643 GB, free: 13.3 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.0001471/0.1657, allocations: 260.4 kB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.1657, allocations: 104.9 kB / 0.5646 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.1658, allocations: 119.9 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.758e-05/0.1659, allocations: 184.1 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-05/0.166, allocations: 184.3 kB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.533e-05/0.1661, allocations: 180.2 kB / 0.5653 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1663, allocations: 405.2 kB / 0.5657 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/0.1664, allocations: 101 kB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.1665, allocations: 108.9 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.1666, allocations: 184.3 kB / 0.566 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.781e-05/0.1666, allocations: 180.2 kB / 0.5662 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.398e-05/0.1667, allocations: 180.2 kB / 0.5664 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001133/0.1668, allocations: 180.2 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1671, allocations: 311.7 kB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.1672, allocations: 190 kB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.1673, allocations: 176.3 kB / 0.5672 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.1674, allocations: 105 kB / 0.5673 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.1676, allocations: 184.2 kB / 0.5675 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.1677, allocations: 105 kB / 0.5676 GB, free: 9.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.1677, allocations: 79.28 kB / 0.5676 GB, free: 9.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1677, allocations: 0 / 0.5676 GB, free: 9.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.1683, allocations: 139.6 kB / 0.5678 GB, free: 9.492 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.001234/0.1696, allocations: 1.056 MB / 0.5688 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.1696, allocations: 8.016 kB / 0.5688 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1696, allocations: 0 / 0.5688 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1696, allocations: 4 kB / 0.5688 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.17, allocations: 465.8 kB / 0.5693 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1705, allocations: 241.5 kB / 0.5695 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1708, allocations: 0.669 MB / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.532e-06/0.1708, allocations: 0 / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.1708, allocations: 11.44 kB / 0.5702 GB, free: 6.965 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1708, allocations: 4 kB / 0.5702 GB, free: 6.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.2039, allocations: 4.173 MB / 0.5742 GB, free: 2.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.562, allocations: 30.27 kB / 0.5743 GB, free: 2.832 MB / 430.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.466557102277875] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.632686822675169 8.658070955 8.49159701 Calling exit ...