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.0008393/0.0008393, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.0009557/0.0009557, allocations: 165.3 kB / 23.95 MB, free: 0.6055 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.8888/0.8888, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2325/0.2325, allocations: 34.26 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.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.487e-05, allocations: 8.531 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001113/0.001137, allocations: 0.4892 MB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.177/0.1781, allocations: 2.177 MB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-06/0.1781, allocations: 0 / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-06/0.1781, allocations: 0 / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.402e-06/0.1781, allocations: 0 / 444.8 MB, free: 43.21 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.001355/0.1795, allocations: 0.6351 MB / 445.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.1795, allocations: 2.75 kB / 445.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.743e-05/0.1796, allocations: 10.02 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1797, allocations: 24.02 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.1797, allocations: 5.938 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.1797, allocations: 0 / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.1803, allocations: 0.6386 MB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-06/0.1803, allocations: 2.781 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1803, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1807, allocations: 0.553 MB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1807, allocations: 0 / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1807, allocations: 4.469 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1807, allocations: 6.328 kB / 446.7 MB, free: 42.98 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.000212/0.181, allocations: 356.7 kB / 447 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.181, allocations: 8.625 kB / 447.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.181, allocations: 106 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1811, allocations: 82.62 kB / 447.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.183e-05/0.1811, allocations: 184 kB / 447.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1811, allocations: 152.9 kB / 447.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1811, allocations: 157.9 kB / 447.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.404e-05/0.1811, allocations: 109.9 kB / 447.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1812, allocations: 75.28 kB / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1812, allocations: 153.4 kB / 448 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1812, allocations: 154.6 kB / 448.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.1812, allocations: 154.5 kB / 448.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.1813, allocations: 415.2 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.1813, allocations: 168.2 kB / 448.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.1814, allocations: 80.14 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1814, allocations: 79.28 kB / 449.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1814, allocations: 146.4 kB / 449.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.32e-07/0.1814, allocations: 0 / 449.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.446e-05/0.1815, allocations: 28.73 kB / 449.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1815, allocations: 155.1 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-06/0.1815, allocations: 89.86 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.1815, allocations: 25.7 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.967e-06/0.1815, allocations: 83.08 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.1815, allocations: 0 / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.1815, allocations: 15.86 kB / 449.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.763e-05/0.1815, allocations: 313.9 kB / 449.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.1816, allocations: 0 / 449.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.1816, allocations: 33.7 kB / 449.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.048e-05/0.1816, allocations: 78.16 kB / 450 MB, free: 39.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.1816, allocations: 79.22 kB / 450.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.7e-05/0.1816, allocations: 32.23 kB / 450.1 MB, free: 39.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1816, allocations: 85.34 kB / 450.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1816, allocations: 75.28 kB / 450.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1817, allocations: 158.4 kB / 450.4 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-06/0.1817, allocations: 78.19 kB / 450.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1817, allocations: 154.5 kB / 450.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.1817, allocations: 82.2 kB / 450.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.1817, allocations: 85.94 kB / 450.8 MB, free: 38.73 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 4.162e-05/0.1818, allocations: 260.5 kB / 451.1 MB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1818, allocations: 107.8 kB / 451.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.1818, allocations: 115.3 kB / 451.3 MB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.1818, allocations: 183 kB / 451.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.1818, allocations: 176.3 kB / 451.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.1819, allocations: 183 kB / 451.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.1819, allocations: 374.4 kB / 452.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.1819, allocations: 101 kB / 452.3 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-06/0.182, allocations: 107.8 kB / 452.4 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.182, allocations: 180.3 kB / 452.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.182, allocations: 191.5 kB / 452.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/0.182, allocations: 180.2 kB / 452.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/0.182, allocations: 182.3 kB / 453.1 MB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.606e-05/0.1821, allocations: 302 kB / 453.4 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.1821, allocations: 111.8 kB / 453.5 MB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1821, allocations: 191.1 kB / 453.7 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.1821, allocations: 101 kB / 453.8 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.1822, allocations: 186.3 kB / 454 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.1822, allocations: 101 kB / 454.1 MB, free: 35.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.385e-05/0.1822, allocations: 75.28 kB / 454.2 MB, free: 35.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1822, allocations: 6.906 kB / 454.2 MB, free: 35.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.1825, allocations: 141.8 kB / 454.3 MB, free: 35.22 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.0006303/0.1831, allocations: 1.073 MB / 455.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.56e-05/0.1832, allocations: 0 / 455.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1832, allocations: 0 / 455.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.1832, allocations: 0 / 455.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.1833, allocations: 465.5 kB / 455.8 MB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.1836, allocations: 236.3 kB / 456.1 MB, free: 33.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.249e-05/0.1836, allocations: 62.14 kB / 456.1 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.199e-06/0.1836, allocations: 0 / 456.1 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1836, allocations: 8.5 kB / 456.1 MB, free: 33.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1836, allocations: 0 / 456.1 MB, free: 33.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.2026, allocations: 4.877 MB / 461 MB, free: 32.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.279, allocations: 21.23 kB / 461 MB, free: 32.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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.16955475602299]