Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001389/0.001389, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001388/0.001388, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.434/1.434, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 32.81 MB / 293.5 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 440.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.147e-05, allocations: 2.281 kB / 440.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001331/0.001353, allocations: 0.4964 MB / 440.6 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.004824, allocations: 2.183 MB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-06/0.004829, allocations: 0 / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-06/0.004832, allocations: 4 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.004833, allocations: 0 / 442.7 MB, free: 5.52 MB / 366.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.00205/0.006883, allocations: 0.6339 MB / 443.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.21e-05/0.006915, allocations: 4 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.345e-05/0.006938, allocations: 0 / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.00707, allocations: 23.92 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.007115, allocations: 7.984 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.007121, allocations: 0 / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.008143, allocations: 0.6389 MB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-06/0.008149, allocations: 0 / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.00817, allocations: 3.984 kB / 444.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.008967, allocations: 0.5614 MB / 444.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00897, allocations: 0 / 444.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008971, allocations: 4 kB / 444.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.008975, allocations: 0 / 444.6 MB, free: 3.645 MB / 366.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.000421/0.009396, allocations: 359.2 kB / 445 MB, free: 3.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.009433, allocations: 12.03 kB / 445 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.009505, allocations: 76.22 kB / 445.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.009623, allocations: 177.1 kB / 445.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.009698, allocations: 154.9 kB / 445.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.009769, allocations: 150.9 kB / 445.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.009852, allocations: 105.5 kB / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.009889, allocations: 79.22 kB / 445.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.009967, allocations: 154.6 kB / 445.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.01004, allocations: 158.6 kB / 446 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.01011, allocations: 154.5 kB / 446.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.0104, allocations: 393.6 kB / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.01051, allocations: 165.1 kB / 446.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.01055, allocations: 80.14 kB / 446.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.01059, allocations: 75.28 kB / 446.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.562e-05/0.01068, allocations: 139.5 kB / 447 MB, free: 1.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.01068, allocations: 0 / 447 MB, free: 1.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.816e-05/0.01076, allocations: 37.56 kB / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.01087, allocations: 160.4 kB / 447.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.01091, allocations: 97.8 kB / 447.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01093, allocations: 25.7 kB / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.01097, allocations: 80.14 kB / 447.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.01097, allocations: 0 / 447.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.011, allocations: 17.66 kB / 447.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01115, allocations: 314.9 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.01115, allocations: 4 kB / 447.7 MB, free: 356 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.01119, allocations: 25.7 kB / 447.7 MB, free: 324 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.01123, allocations: 79.28 kB / 447.8 MB, free: 244 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-05/0.01127, allocations: 79.28 kB / 447.9 MB, free: 164 kB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.121e-05/0.01133, allocations: 37.66 kB / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.01138, allocations: 87.28 kB / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1828/0.1942, allocations: 75.28 kB / 448.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.753e-05/0.1943, allocations: 156.8 kB / 448.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.136e-05/0.1943, allocations: 75.28 kB / 448.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.438e-05/0.1943, allocations: 154.2 kB / 448.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.1944, allocations: 77.69 kB / 448.5 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1944, allocations: 79.62 kB / 448.6 MB, free: 21.01 MB / 366.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 7.913e-05/0.1945, allocations: 264.2 kB / 448.9 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.1945, allocations: 106.4 kB / 449 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.1945, allocations: 108.5 kB / 449.1 MB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.1946, allocations: 183.8 kB / 449.3 MB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/0.1946, allocations: 179.1 kB / 449.4 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.1946, allocations: 183.8 kB / 449.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1947, allocations: 354.2 kB / 450 MB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.1948, allocations: 105.9 kB / 450.1 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.1948, allocations: 102.9 kB / 450.2 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/0.1948, allocations: 189.2 kB / 450.4 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.1948, allocations: 178.2 kB / 450.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.1948, allocations: 184.1 kB / 450.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.428e-05/0.1949, allocations: 179.2 kB / 450.9 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.458e-05/0.1949, allocations: 305.8 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.195, allocations: 107.4 kB / 451.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.195, allocations: 186.7 kB / 451.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.175e-05/0.1951, allocations: 105.4 kB / 451.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1951, allocations: 178.9 kB / 451.8 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1951, allocations: 110.2 kB / 451.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.1951, allocations: 79.73 kB / 451.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1951, allocations: 0 / 451.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.1957, allocations: 137.6 kB / 452.1 MB, free: 17.6 MB / 366.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.0008553/0.1965, allocations: 448.2 kB / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.114e-05/0.1966, allocations: 2.156 kB / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1966, allocations: 0 / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1966, allocations: 1.125 kB / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1968, allocations: 466 kB / 453 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001242/0.197, allocations: 160.5 kB / 453.1 MB, free: 16.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.197, allocations: 53.25 kB / 453.2 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.782e-06/0.197, allocations: 2.406 kB / 453.2 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.197, allocations: 9.594 kB / 453.2 MB, free: 16.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.197, allocations: 0 / 453.2 MB, free: 16.73 MB / 366.1 MB Notification: Performance of Templates: time 0.008035/0.205, allocations: 3.316 MB / 456.5 MB, free: 16.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.717577435076237]