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.001413/0.001413, allocations: 105.8 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.001515/0.001515, allocations: 218.4 kB / 22.92 MB, free: 5.539 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.766 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.1999/0.1999, allocations: 46.9 MB / 359.3 MB, free: 4.965 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.002281/0.002281, allocations: 80.2 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2554, allocations: 65.99 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001349/0.2568, allocations: 488.4 kB / 0.5589 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2599, allocations: 2.315 MB / 0.5611 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-06/0.2599, allocations: 0 / 0.5611 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-06/0.2599, allocations: 4 kB / 0.5611 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.032e-06/0.2599, allocations: 4 kB / 0.5611 GB, free: 2.391 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.001845/0.2617, allocations: 0.6358 MB / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.808e-05/0.2617, allocations: 8 kB / 0.5618 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.262e-05/0.2618, allocations: 0 / 0.5618 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2619, allocations: 19.91 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.2619, allocations: 4 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-06/0.2619, allocations: 4 kB / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009454/0.2629, allocations: 0.6749 MB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.2629, allocations: 0 / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.2629, allocations: 0 / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.2634, allocations: 451.1 kB / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2634, allocations: 0 / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2634, allocations: 3.938 kB / 0.5629 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2634, allocations: 0 / 0.5629 GB, free: 0.6055 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.0003862/0.2638, allocations: 436.4 kB / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2639, allocations: 8.031 kB / 0.5633 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.2639, allocations: 106 kB / 0.5634 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.264, allocations: 80.22 kB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2641, allocations: 243.7 kB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.2642, allocations: 154.9 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.2642, allocations: 158.5 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.755e-05/0.2643, allocations: 104.9 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.2643, allocations: 75.28 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.2644, allocations: 150.6 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.2645, allocations: 150.6 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.2645, allocations: 154.6 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.2648, allocations: 446 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/0.2649, allocations: 173 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.2649, allocations: 80.14 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2649, allocations: 79.27 kB / 0.5654 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.265, allocations: 139.5 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.265, allocations: 3.938 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.311e-05/0.2651, allocations: 29.7 kB / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.2651, allocations: 152.4 kB / 0.5657 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.738e-05/0.2652, allocations: 89.86 kB / 0.5658 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2652, allocations: 29.7 kB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.2652, allocations: 84.08 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.2652, allocations: 0 / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.2653, allocations: 17.72 kB / 0.5659 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2654, allocations: 314.8 kB / 0.5662 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.2654, allocations: 0 / 0.5662 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.2654, allocations: 4 kB / 0.5662 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.2654, allocations: 75.28 kB / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.661e-05/0.2655, allocations: 75.28 kB / 0.5663 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.34e-05/0.2655, allocations: 33.7 kB / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.2656, allocations: 83.31 kB / 0.5664 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/0.2656, allocations: 87.23 kB / 0.5665 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.754e-05/0.2657, allocations: 150.6 kB / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.2657, allocations: 79.28 kB / 0.5668 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.179e-05/0.2658, allocations: 158.5 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.2659, allocations: 75.28 kB / 0.567 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.2659, allocations: 83.22 kB / 0.5671 GB, free: 12.07 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.0001289/0.266, allocations: 264.5 kB / 0.5673 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.2661, allocations: 112.9 kB / 0.5674 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2662, allocations: 107.9 kB / 0.5675 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/0.2662, allocations: 184.2 kB / 0.5677 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.659e-05/0.2663, allocations: 180.2 kB / 0.5679 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-05/0.2664, allocations: 192.2 kB / 0.568 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.2666, allocations: 401.2 kB / 0.5684 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/0.2667, allocations: 108.9 kB / 0.5685 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.2667, allocations: 101 kB / 0.5686 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.2668, allocations: 180.3 kB / 0.5688 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.2669, allocations: 184.2 kB / 0.569 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.879e-05/0.2669, allocations: 176.3 kB / 0.5691 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.05e-05/0.267, allocations: 188.2 kB / 0.5693 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.2671, allocations: 299.8 kB / 0.5696 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.2672, allocations: 190 kB / 0.5698 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.2673, allocations: 192.2 kB / 0.57 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.2674, allocations: 112.9 kB / 0.5701 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.2674, allocations: 176.3 kB / 0.5703 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.2675, allocations: 101 kB / 0.5703 GB, free: 8.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.165e-05/0.2675, allocations: 75.28 kB / 0.5704 GB, free: 8.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2675, allocations: 0 / 0.5704 GB, free: 8.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.268, allocations: 147.6 kB / 0.5706 GB, free: 8.25 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.001088/0.2691, allocations: 1.048 MB / 0.5716 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.839e-05/0.2691, allocations: 4.453 kB / 0.5716 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2691, allocations: 0 / 0.5716 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.2691, allocations: 0 / 0.5716 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2694, allocations: 459.6 kB / 0.572 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.2698, allocations: 241.6 kB / 0.5723 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2701, allocations: 0.669 MB / 0.5729 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.57e-06/0.2701, allocations: 0 / 0.5729 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.2701, allocations: 11.44 kB / 0.5729 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2701, allocations: 0 / 0.5729 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.2949, allocations: 4.173 MB / 0.577 GB, free: 1.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.4, allocations: 7.875 kB / 0.577 GB, free: 1.621 MB / 414.1 MB " [Timeout remaining time 653] (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: 9.907468295001308]