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.001521/0.001521, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001667/0.001667, allocations: 211 kB / 24.55 MB, free: 3.824 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2439/0.2439, allocations: 46.96 MB / 361.7 MB, free: 4.07 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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.721e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001878/0.001905, allocations: 489.1 kB / 0.4978 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.005899, allocations: 2.18 MB / 0.5 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-06/0.005905, allocations: 0 / 0.5 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-06/0.005909, allocations: 0 / 0.5 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.503e-06/0.00591, allocations: 0 / 0.5 GB, free: 4.559 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.002219/0.008129, allocations: 0.6445 MB / 0.5006 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.351e-05/0.008173, allocations: 11.94 kB / 0.5006 GB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.943e-05/0.008202, allocations: 0 / 0.5006 GB, free: 3.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.008352, allocations: 23.91 kB / 0.5006 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.008391, allocations: 4 kB / 0.5006 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-06/0.008396, allocations: 0 / 0.5006 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.009353, allocations: 0.6281 MB / 0.5013 GB, free: 3.25 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.154e-05/0.009375, allocations: 8 kB / 0.5013 GB, free: 3.242 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.9e-07/0.009375, allocations: 0 / 0.5013 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.009389, allocations: 0 / 0.5013 GB, free: 3.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.009394, allocations: 0 / 0.5013 GB, free: 3.242 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 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.0004136/0.009808, allocations: 206.9 kB / 0.5015 GB, free: 2.922 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.249e-05/0.00984, allocations: 16.05 kB / 0.5015 GB, free: 2.895 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.904e-05/0.009919, allocations: 56.36 kB / 0.5015 GB, free: 2.812 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.126e-05/0.01, allocations: 60.73 kB / 0.5016 GB, free: 2.707 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.115e-05/0.01008, allocations: 72.61 kB / 0.5017 GB, free: 2.586 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.903e-05/0.01016, allocations: 76.66 kB / 0.5017 GB, free: 2.465 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.945e-05/0.01021, allocations: 44.42 kB / 0.5018 GB, free: 2.395 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.778e-05/0.01031, allocations: 76.66 kB / 0.5018 GB, free: 2.266 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.348e-05/0.01033, allocations: 8 kB / 0.5019 GB, free: 2.258 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 1.318e-05/0.01034, allocations: 0 / 0.5019 GB, free: 2.258 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 5.851e-06/0.01035, allocations: 0 / 0.5019 GB, free: 2.258 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.336e-06/0.01036, allocations: 8 kB / 0.5019 GB, free: 2.25 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001396/0.0105, allocations: 105.1 kB / 0.502 GB, free: 2.078 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.622e-05/0.01054, allocations: 39.98 kB / 0.502 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.537e-05/0.01056, allocations: 12.12 kB / 0.502 GB, free: 2.016 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 7.595e-06/0.01057, allocations: 7.938 kB / 0.502 GB, free: 2.008 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.612e-05/0.01063, allocations: 16.11 kB / 0.502 GB, free: 1.984 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 7.555e-06/0.01064, allocations: 4 kB / 0.502 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.01064, allocations: 0 / 0.502 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.344e-06/0.01064, allocations: 0 / 0.502 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.92e-07/0.01064, allocations: 0 / 0.502 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.51e-07/0.01065, allocations: 0 / 0.502 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.954e-06/0.01065, allocations: 4 kB / 0.502 GB, free: 1.977 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 8.656e-06/0.01066, allocations: 8 kB / 0.5021 GB, free: 1.969 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 9.768e-06/0.01067, allocations: 3.938 kB / 0.5021 GB, free: 1.965 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.073e-05/0.01071, allocations: 18.53 kB / 0.5021 GB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 0.001817/0.01252, allocations: 0.9259 MB / 0.503 GB, free: 1.016 MB / 366.1 MB Notification: Performance of Templates: time 0.007631/0.02015, allocations: 3.132 MB / 0.506 GB, free: 13.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/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: 5.096146690018941]