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.00115/0.00115, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009655/0.0009655, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9399/0.9399, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.2507/0.2507, allocations: 34.24 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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 1.723e-06/1.723e-06, allocations: 0 / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.154e-05, allocations: 4.812 kB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001159/0.001181, allocations: 0.4931 MB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1709/0.1721, allocations: 2.172 MB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-06/0.1721, allocations: 0 / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-06/0.1721, allocations: 0 / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.663e-06/0.1721, allocations: 2.781 kB / 444.8 MB, free: 43.19 MB / 410.7 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.001452/0.1735, allocations: 0.6353 MB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.745e-05/0.1736, allocations: 9.609 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.63e-05/0.1736, allocations: 0 / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1737, allocations: 23.92 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.1738, allocations: 12.98 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1738, allocations: 0 / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.1744, allocations: 0.6329 MB / 446.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.1744, allocations: 0 / 446.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1744, allocations: 2.656 kB / 446.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1748, allocations: 0.5591 MB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1748, allocations: 0.5625 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1748, allocations: 3.125 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1748, allocations: 0 / 446.7 MB, free: 42.95 MB / 410.7 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.0002273/0.175, allocations: 359.5 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1751, allocations: 10.44 kB / 447.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.1751, allocations: 106 kB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1752, allocations: 79.03 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.937e-05/0.1752, allocations: 181.1 kB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1752, allocations: 150.9 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1752, allocations: 161.2 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.752e-05/0.1753, allocations: 108.2 kB / 447.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1753, allocations: 78.61 kB / 447.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1753, allocations: 157.4 kB / 448.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1753, allocations: 152.1 kB / 448.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1753, allocations: 153.1 kB / 448.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1754, allocations: 415.5 kB / 448.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/0.1755, allocations: 165.1 kB / 448.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1755, allocations: 82.67 kB / 449 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1755, allocations: 79.22 kB / 449.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1755, allocations: 142.3 kB / 449.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.1755, allocations: 0 / 449.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.834e-05/0.1756, allocations: 29.03 kB / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1756, allocations: 159.3 kB / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-06/0.1756, allocations: 89.86 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.1756, allocations: 25.7 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.038e-05/0.1757, allocations: 83.02 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1757, allocations: 0 / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.1757, allocations: 12.53 kB / 449.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.1757, allocations: 314.2 kB / 449.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.1757, allocations: 9.125 kB / 449.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.1757, allocations: 29.64 kB / 450 MB, free: 39.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.179e-05/0.1757, allocations: 77.81 kB / 450 MB, free: 39.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.1757, allocations: 75.28 kB / 450.1 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.784e-05/0.1758, allocations: 28.23 kB / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1758, allocations: 84.53 kB / 450.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1758, allocations: 75.28 kB / 450.3 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.1758, allocations: 161.1 kB / 450.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-06/0.1758, allocations: 82.69 kB / 450.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.1759, allocations: 157.2 kB / 450.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.1759, allocations: 79.33 kB / 450.8 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1759, allocations: 82.16 kB / 450.8 MB, free: 38.7 MB / 410.7 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 5.923e-05/0.176, allocations: 259.5 kB / 451.1 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.176, allocations: 111.9 kB / 451.2 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.176, allocations: 115.1 kB / 451.3 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.176, allocations: 180.2 kB / 451.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.176, allocations: 179.3 kB / 451.7 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.1761, allocations: 176.3 kB / 451.8 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.593e-05/0.1761, allocations: 378.2 kB / 452.2 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.1762, allocations: 103.9 kB / 452.3 MB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.1762, allocations: 108 kB / 452.4 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/0.1762, allocations: 183.2 kB / 452.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1762, allocations: 180.2 kB / 452.8 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/0.1762, allocations: 183.1 kB / 452.9 MB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/0.1762, allocations: 176.3 kB / 453.1 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.78e-05/0.1763, allocations: 309.5 kB / 453.4 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.1763, allocations: 108.9 kB / 453.5 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1764, allocations: 190.4 kB / 453.7 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.1764, allocations: 103.8 kB / 453.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1764, allocations: 187.2 kB / 454 MB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1764, allocations: 103.9 kB / 454.1 MB, free: 35.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.473e-05/0.1764, allocations: 79.28 kB / 454.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1764, allocations: 0 / 454.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.1768, allocations: 141.3 kB / 454.3 MB, free: 35.19 MB / 410.7 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.0008561/0.1777, allocations: 1.075 MB / 455.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.28e-05/0.1778, allocations: 3.422 kB / 455.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1778, allocations: 2.812 kB / 455.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1778, allocations: 4 kB / 455.4 MB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1779, allocations: 454.5 kB / 455.8 MB, free: 33.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.1782, allocations: 242.9 kB / 456.1 MB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.1783, allocations: 51.36 kB / 456.1 MB, free: 33.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.565e-06/0.1783, allocations: 0 / 456.1 MB, free: 33.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.1783, allocations: 11.44 kB / 456.1 MB, free: 33.57 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1783, allocations: 3.938 kB / 456.1 MB, free: 33.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1986, allocations: 4.877 MB / 461 MB, free: 32.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.275, allocations: 22.73 kB / 461 MB, free: 32.37 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/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: 9.368904372677207]