Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 183.8 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] 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.1973/0.1973, allocations: 44.92 MB / 352.4 MB, free: 12.22 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.076e-05, allocations: 2.281 kB / 495.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001296/0.001316, allocations: 497 kB / 496.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.003774, allocations: 1.769 MB / 498.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.003788, allocations: 4 kB / 498.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.003802, allocations: 7.875 kB / 498.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-06/0.003806, allocations: 0 / 498.2 MB, free: 15.64 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function 'ModelicaTest.Math.Polynomials' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.004634, allocations: 223.3 kB / 498.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.004683, allocations: 7.984 kB / 498.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.004714, allocations: 4 kB / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.00473, allocations: 0 / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.3e-05/0.004743, allocations: 0 / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-06/0.004748, allocations: 0 / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.005331, allocations: 435.2 kB / 498.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.702e-05/0.005348, allocations: 0 / 498.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 7.254e-06/0.005355, allocations: 7.906 kB / 498.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.037e-05/0.005366, allocations: 0 / 498.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.941e-06/0.005372, allocations: 0 / 498.8 MB, free: 14.98 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000298/0.00567, allocations: 182.2 kB / 499 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.635e-05/0.005686, allocations: 2.812 kB / 499 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Early Inline: time 7.976e-05/0.005766, allocations: 60.48 kB / 499.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Simplify 1: time 3.966e-05/0.005805, allocations: 36.44 kB / 499.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Alias: time 7.267e-05/0.005878, allocations: 60.8 kB / 499.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.669e-05/0.005915, allocations: 40.38 kB / 499.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.986e-05/0.005955, allocations: 44.41 kB / 499.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001504/0.006105, allocations: 73.83 kB / 499.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Events: time 1.546e-05/0.006121, allocations: 3.984 kB / 499.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Partitioning: time 5.634e-05/0.006177, allocations: 24.11 kB / 499.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001/0.006277, allocations: 20.12 kB / 499.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.933e-05/0.006296, allocations: 15.92 kB / 499.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Simplify: time 9.213e-05/0.006388, allocations: 68.81 kB / 499.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Inline: time 2.524e-05/0.006414, allocations: 16.05 kB / 499.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of Partitioning: time 1.373e-05/0.006427, allocations: 12.12 kB / 499.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Cleanup: time 2.042e-05/0.006448, allocations: 15.92 kB / 499.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Causalize: time 5.403e-05/0.006502, allocations: 36.23 kB / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Tearing: time 8.597e-06/0.00651, allocations: 0 / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Initialization: time 2.81e-07/0.006511, allocations: 0 / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.447e-06/0.006514, allocations: 0 / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Tearing: time 4.81e-07/0.006515, allocations: 0 / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Categorize: time 9.608e-06/0.006524, allocations: 8 kB / 499.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Solve: time 1.5e-05/0.006539, allocations: 0 / 499.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Jacobian: time 3.456e-06/0.006543, allocations: 0 / 499.5 MB, free: 13.88 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: ......... 1 * 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: ................. 1 (1) {result} * 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: ............ 1 (algorithm:1, 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: ............ 1 (algorithm:1, 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 3.561e-05/0.006578, allocations: 25.84 kB / 499.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 0.001263/0.007842, allocations: 1.181 MB / 0.489 GB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.004781/0.01262, allocations: 1.923 MB / 0.4909 GB, free: 10.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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.138348217122257]