Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008197/0.0008197, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003125/0.003125, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8456/0.8456, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.854e-05, allocations: 2.281 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001038/0.001067, allocations: 0.4892 MB / 443.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.189/0.19, allocations: 2.18 MB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-06/0.19, allocations: 2.562 kB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-06/0.19, allocations: 0 / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.463e-06/0.19, allocations: 0 / 446.1 MB, free: 42.69 MB / 410.7 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.001462/0.1915, allocations: 0.6323 MB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.1916, allocations: 13.39 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.1916, allocations: 6.578 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1917, allocations: 15.25 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.1918, allocations: 8.5 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.1918, allocations: 3.984 kB / 446.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007738/0.1926, allocations: 0.6354 MB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.1926, allocations: 0 / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1926, allocations: 6.812 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.1931, allocations: 0.5547 MB / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1931, allocations: 0 / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1931, allocations: 0 / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1931, allocations: 0 / 447.9 MB, free: 42.39 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.0002865/0.1934, allocations: 359.8 kB / 448.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1935, allocations: 11.62 kB / 448.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1935, allocations: 76.22 kB / 448.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.365e-05/0.1936, allocations: 180.2 kB / 448.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1936, allocations: 156.9 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1936, allocations: 155.8 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.508e-05/0.1936, allocations: 101.5 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1936, allocations: 82.25 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1937, allocations: 151.1 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1937, allocations: 151.2 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1937, allocations: 156.8 kB / 449.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.1938, allocations: 396.5 kB / 449.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.1939, allocations: 169.1 kB / 450 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.1939, allocations: 83.14 kB / 450.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1939, allocations: 79.03 kB / 450.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1939, allocations: 134.6 kB / 450.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1939, allocations: 0 / 450.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.127e-05/0.194, allocations: 36.61 kB / 450.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.194, allocations: 152.4 kB / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.284e-05/0.194, allocations: 96.3 kB / 450.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.194, allocations: 26.45 kB / 450.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/0.194, allocations: 80.14 kB / 450.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.194, allocations: 0 / 450.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.1941, allocations: 18.78 kB / 450.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.852e-05/0.1941, allocations: 314.5 kB / 451 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.1941, allocations: 0 / 451 MB, free: 39.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.1941, allocations: 28.52 kB / 451.1 MB, free: 39.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.164e-05/0.1941, allocations: 79.22 kB / 451.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1941, allocations: 81.47 kB / 451.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.069e-05/0.1942, allocations: 36.59 kB / 451.3 MB, free: 38.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1942, allocations: 80.78 kB / 451.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.1942, allocations: 85.41 kB / 451.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1942, allocations: 154.5 kB / 451.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-06/0.1942, allocations: 81.97 kB / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1943, allocations: 150.7 kB / 451.8 MB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.1943, allocations: 85.67 kB / 451.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1943, allocations: 79.22 kB / 452 MB, free: 38.3 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.441e-05/0.1944, allocations: 260.4 kB / 452.2 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1944, allocations: 110.9 kB / 452.3 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.1944, allocations: 107.9 kB / 452.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.1944, allocations: 187 kB / 452.6 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.1944, allocations: 183.4 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.1944, allocations: 179.2 kB / 453 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.827e-05/0.1945, allocations: 347.7 kB / 453.3 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.1945, allocations: 104.9 kB / 453.4 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1945, allocations: 111.2 kB / 453.5 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.1945, allocations: 180.2 kB / 453.7 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1946, allocations: 180.3 kB / 453.9 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.1946, allocations: 179.1 kB / 454 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/0.1946, allocations: 191 kB / 454.2 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.375e-05/0.1946, allocations: 308.4 kB / 454.5 MB, free: 35.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.1947, allocations: 107.4 kB / 454.6 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1947, allocations: 181.8 kB / 454.8 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.1947, allocations: 107.5 kB / 454.9 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.1947, allocations: 180.2 kB / 455.1 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1948, allocations: 110.9 kB / 455.2 MB, free: 34.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.172e-05/0.1948, allocations: 75.28 kB / 455.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1948, allocations: 0 / 455.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.1951, allocations: 135.3 kB / 455.4 MB, free: 34.84 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.0006276/0.1957, allocations: 448.2 kB / 455.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.1958, allocations: 0 / 455.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1958, allocations: 0 / 455.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.1958, allocations: 2.75 kB / 455.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.196, allocations: 457.8 kB / 456.3 MB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.1961, allocations: 179.5 kB / 456.5 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.1961, allocations: 61.47 kB / 456.5 MB, free: 33.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1962, allocations: 8.5 kB / 456.5 MB, free: 33.91 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1962, allocations: 0 / 456.5 MB, free: 33.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003955/0.2001, allocations: 2.89 MB / 459.4 MB, free: 33.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.915559248998761]