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.001445/0.001445, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001596/0.001596, allocations: 221.7 kB / 22.92 MB, free: 5.535 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.284/1.284, allocations: 230.2 MB / 256.1 MB, free: 8.758 MB / 206.1 MB " [Timeout remaining time 179] 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.1964/0.1964, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.002088/0.002088, allocations: 75.88 kB / 0.4939 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2588, allocations: 65.99 MB / 0.5584 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001355/0.2601, allocations: 0.4923 MB / 0.5589 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.2631, allocations: 2.311 MB / 0.5611 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-06/0.2631, allocations: 3.938 kB / 0.5611 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.825e-06/0.2631, allocations: 0 / 0.5611 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-07/0.2631, allocations: 0 / 0.5611 GB, free: 2.422 MB / 398.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.001835/0.2649, allocations: 0.6434 MB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.045e-05/0.265, allocations: 4 kB / 0.5618 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.369e-05/0.265, allocations: 3.984 kB / 0.5618 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2651, allocations: 19.92 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.397e-05/0.2651, allocations: 4 kB / 0.5618 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-06/0.2651, allocations: 0 / 0.5618 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.2661, allocations: 0.6749 MB / 0.5624 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-06/0.2661, allocations: 4 kB / 0.5625 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.2661, allocations: 4 kB / 0.5625 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.2667, allocations: 443.2 kB / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2667, allocations: 0 / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2667, allocations: 7.875 kB / 0.5629 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2667, allocations: 0 / 0.5629 GB, free: 0.6289 MB / 398.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.0003808/0.2671, allocations: 428.5 kB / 0.5633 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2671, allocations: 12.02 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.2671, allocations: 110 kB / 0.5634 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.2672, allocations: 80.22 kB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2673, allocations: 235.7 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.2674, allocations: 150.9 kB / 0.5639 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.2674, allocations: 154.5 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.091e-05/0.2675, allocations: 101 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.2675, allocations: 75.28 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.2676, allocations: 158.6 kB / 0.5643 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/0.2676, allocations: 154.5 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.2677, allocations: 154.6 kB / 0.5646 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.268, allocations: 441.9 kB / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.2681, allocations: 177.1 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.2681, allocations: 80.14 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.2681, allocations: 83.22 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/0.2682, allocations: 131.5 kB / 0.5655 GB, free: 13.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2682, allocations: 3.938 kB / 0.5655 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.155e-05/0.2683, allocations: 29.64 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.2683, allocations: 160.4 kB / 0.5657 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.2684, allocations: 89.86 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2684, allocations: 25.7 kB / 0.5658 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.2684, allocations: 80.14 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.2684, allocations: 0 / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.2684, allocations: 17.7 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2686, allocations: 310.8 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-06/0.2686, allocations: 8 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.2686, allocations: 4 kB / 0.5662 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.2686, allocations: 79.22 kB / 0.5663 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.2686, allocations: 75.28 kB / 0.5663 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.191e-05/0.2687, allocations: 33.7 kB / 0.5664 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.2687, allocations: 79.28 kB / 0.5664 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.2688, allocations: 83.28 kB / 0.5665 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.589e-05/0.2688, allocations: 158.5 kB / 0.5667 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.519e-05/0.2688, allocations: 79.31 kB / 0.5667 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.287e-05/0.2689, allocations: 154.5 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.269, allocations: 83.28 kB / 0.567 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.269, allocations: 79.28 kB / 0.567 GB, free: 12.09 MB / 414.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.0001111/0.2691, allocations: 256.5 kB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.2692, allocations: 124.8 kB / 0.5674 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.2692, allocations: 107.9 kB / 0.5675 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.485e-05/0.2693, allocations: 180.2 kB / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.375e-05/0.2694, allocations: 180.3 kB / 0.5679 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.507e-05/0.2694, allocations: 180.3 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.2697, allocations: 409.1 kB / 0.5684 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/0.2697, allocations: 101 kB / 0.5685 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.2697, allocations: 108.9 kB / 0.5686 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.2698, allocations: 176.3 kB / 0.5688 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.2699, allocations: 180.3 kB / 0.569 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.506e-05/0.2699, allocations: 184.2 kB / 0.5691 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.466e-05/0.27, allocations: 184.3 kB / 0.5693 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2701, allocations: 307.7 kB / 0.5696 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.2702, allocations: 186 kB / 0.5698 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.2703, allocations: 180.2 kB / 0.57 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.2703, allocations: 109 kB / 0.5701 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.2704, allocations: 188.2 kB / 0.5702 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.2705, allocations: 101 kB / 0.5703 GB, free: 8.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.946e-05/0.2705, allocations: 75.28 kB / 0.5704 GB, free: 8.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2705, allocations: 4 kB / 0.5704 GB, free: 8.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.271, allocations: 139.6 kB / 0.5705 GB, free: 8.289 MB / 414.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.001032/0.272, allocations: 1.066 MB / 0.5716 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.055e-05/0.272, allocations: 4.453 kB / 0.5716 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.272, allocations: 0 / 0.5716 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.272, allocations: 0 / 0.5716 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2723, allocations: 459.7 kB / 0.572 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.2727, allocations: 241.5 kB / 0.5723 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.273, allocations: 0.669 MB / 0.5729 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.94e-06/0.273, allocations: 4 kB / 0.5729 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.273, allocations: 11.38 kB / 0.5729 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.273, allocations: 0 / 0.5729 GB, free: 5.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.2977, allocations: 4.168 MB / 0.577 GB, free: 1.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.433, allocations: 7.938 kB / 0.577 GB, free: 1.645 MB / 414.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 & /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: 9.888680449003004]