Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 46.92 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.05 kB / 0.4961 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 66.04 MB / 0.5606 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001562/0.3451, allocations: 499.9 kB / 0.5611 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.3486, allocations: 2.323 MB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-06/0.3486, allocations: 4 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.308e-06/0.3486, allocations: 0 / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.122e-06/0.3486, allocations: 0 / 0.5634 GB, free: 1.652 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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 4.1.0+maint.om/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.002229/0.3508, allocations: 0.6325 MB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.3509, allocations: 7.984 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.3509, allocations: 8 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.351, allocations: 15.92 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3511, allocations: 11.98 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-06/0.3511, allocations: 0 / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3522, allocations: 0.669 MB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3523, allocations: 7.984 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3523, allocations: 0 / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.3529, allocations: 443.2 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3529, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3529, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3529, allocations: 11.94 kB / 0.5651 GB, free: 15.86 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.0004221/0.3534, allocations: 351.3 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3534, allocations: 8.031 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.3535, allocations: 110 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.3536, allocations: 76.22 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3537, allocations: 181.8 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.3537, allocations: 150.9 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.3538, allocations: 158.5 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.3539, allocations: 109 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.3539, allocations: 75.28 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.354, allocations: 154.6 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.3541, allocations: 150.6 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.3541, allocations: 158.5 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.3545, allocations: 413 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3546, allocations: 177.1 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.3546, allocations: 80.14 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3547, allocations: 75.28 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.592e-05/0.3547, allocations: 143.5 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3547, allocations: 0 / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.3548, allocations: 33.62 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.3549, allocations: 156.4 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.355, allocations: 89.86 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.355, allocations: 25.7 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.355, allocations: 84.14 kB / 0.568 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.355, allocations: 4 kB / 0.568 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.355, allocations: 13.72 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3552, allocations: 310.8 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.3552, allocations: 4 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.3552, allocations: 0 / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.3553, allocations: 75.28 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-05/0.3553, allocations: 75.28 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.138e-05/0.3554, allocations: 41.62 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.3554, allocations: 83.31 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/0.3555, allocations: 79.3 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.905e-05/0.3556, allocations: 158.5 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.359e-05/0.3556, allocations: 79.28 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.216e-05/0.3557, allocations: 150.6 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.3558, allocations: 83.22 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3558, allocations: 83.33 kB / 0.5691 GB, free: 11.52 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.000148/0.3559, allocations: 260.4 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.356, allocations: 112.9 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.3561, allocations: 111.8 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-05/0.3562, allocations: 176.3 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.309e-05/0.3563, allocations: 188.2 kB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.184e-05/0.3563, allocations: 180.2 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3566, allocations: 372.2 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.874e-05/0.3567, allocations: 109 kB / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.3567, allocations: 101 kB / 0.5707 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.971e-05/0.3568, allocations: 184.2 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/0.3569, allocations: 180.3 kB / 0.571 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.009e-05/0.357, allocations: 184.2 kB / 0.5712 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.348e-05/0.3571, allocations: 176.3 kB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.3572, allocations: 315.7 kB / 0.5717 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3573, allocations: 109 kB / 0.5718 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.3574, allocations: 184.2 kB / 0.572 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.3575, allocations: 112.9 kB / 0.5721 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3576, allocations: 184.2 kB / 0.5722 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.3576, allocations: 105 kB / 0.5723 GB, free: 8.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.3577, allocations: 75.28 kB / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 4 kB / 0.5724 GB, free: 7.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.3582, allocations: 135.6 kB / 0.5725 GB, free: 7.836 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.001215/0.3594, allocations: 1.055 MB / 0.5736 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.771e-05/0.3595, allocations: 0 / 0.5736 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3595, allocations: 0 / 0.5736 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.3595, allocations: 3.984 kB / 0.5736 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3598, allocations: 455.7 kB / 0.574 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.3603, allocations: 242.1 kB / 0.5742 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3606, allocations: 0.6729 MB / 0.5749 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.3606, allocations: 0 / 0.5749 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.3606, allocations: 11.44 kB / 0.5749 GB, free: 5.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3606, allocations: 3.938 kB / 0.5749 GB, free: 5.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.3926, allocations: 4.29 MB / 0.5791 GB, free: 1.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.34, allocations: 3.938 kB / 0.5791 GB, free: 1.152 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.398381872997561]