Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.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.00138/0.00138, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.00154/0.00154, allocations: 204.6 kB / 24.49 MB, free: 3.965 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.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2488/0.2488, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.698e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001754/0.001781, allocations: 493 kB / 0.4977 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.005156, allocations: 1.733 MB / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.005175, allocations: 0 / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.00519, allocations: 0 / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.005196, allocations: 0 / 0.4994 GB, free: 5.082 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001237/0.006433, allocations: 255.2 kB / 0.4997 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.006486, allocations: 0 / 0.4997 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.006535, allocations: 7.984 kB / 0.4997 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.006549, allocations: 0 / 0.4997 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.574e-05/0.006575, allocations: 0 / 0.4997 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.006583, allocations: 0 / 0.4997 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.00744, allocations: 463.1 kB / 0.5001 GB, free: 4.371 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.398e-05/0.007484, allocations: 15.88 kB / 0.5001 GB, free: 4.355 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.64e-06/0.007489, allocations: 3.906 kB / 0.5001 GB, free: 4.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.007513, allocations: 4 kB / 0.5001 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.546e-05/0.007529, allocations: 3.984 kB / 0.5001 GB, free: 4.344 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 [SIM] Bindings: time 0.0005188/0.008047, allocations: 185.6 kB / 0.5003 GB, free: 4.043 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.807e-05/0.008106, allocations: 20.05 kB / 0.5003 GB, free: 4.012 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.251e-05/0.008188, allocations: 56.34 kB / 0.5004 GB, free: 3.93 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.9e-05/0.008267, allocations: 64.73 kB / 0.5005 GB, free: 3.82 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001001/0.008367, allocations: 80.59 kB / 0.5005 GB, free: 3.691 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.265e-05/0.00844, allocations: 64.75 kB / 0.5006 GB, free: 3.582 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.456e-05/0.008484, allocations: 44.36 kB / 0.5006 GB, free: 3.512 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.519e-05/0.00858, allocations: 71.55 kB / 0.5007 GB, free: 3.391 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.541e-05/0.008605, allocations: 11.84 kB / 0.5007 GB, free: 3.379 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.292e-05/0.008688, allocations: 24.11 kB / 0.5007 GB, free: 3.348 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001252/0.008813, allocations: 16.12 kB / 0.5007 GB, free: 3.324 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.858e-05/0.008832, allocations: 11.98 kB / 0.5008 GB, free: 3.312 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001337/0.008965, allocations: 101 kB / 0.5009 GB, free: 3.145 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.043e-05/0.008996, allocations: 20.25 kB / 0.5009 GB, free: 3.121 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.643e-05/0.009012, allocations: 12.12 kB / 0.5009 GB, free: 3.102 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.547e-05/0.009028, allocations: 8 kB / 0.5009 GB, free: 3.094 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.441e-05/0.009102, allocations: 40.02 kB / 0.5009 GB, free: 3.047 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.856e-06/0.009111, allocations: 0 / 0.5009 GB, free: 3.047 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.009111, allocations: 0 / 0.5009 GB, free: 3.047 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.938e-06/0.009115, allocations: 0 / 0.5009 GB, free: 3.047 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.42e-07/0.009116, allocations: 0 / 0.5009 GB, free: 3.047 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.069e-05/0.009127, allocations: 8.125 kB / 0.5009 GB, free: 3.039 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.433e-05/0.009141, allocations: 11.94 kB / 0.501 GB, free: 3.027 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.165e-06/0.009149, allocations: 0 / 0.501 GB, free: 3.027 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: ............ 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: ............ 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 4.286e-05/0.009192, allocations: 18.03 kB / 0.501 GB, free: 3.012 MB / 366.1 MB Notification: Performance of SimCode: time 0.00136/0.01055, allocations: 0.6192 MB / 0.5016 GB, free: 2.387 MB / 366.1 MB Notification: Performance of Templates: time 0.005469/0.01602, allocations: 1.892 MB / 0.5034 GB, free: 0.4961 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.197521103080362]