Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001547/0.001547, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001718/0.001718, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.629/1.629, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2558/0.2558, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.407e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001491/0.001516, allocations: 495.9 kB / 0.4977 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.003847, allocations: 1.557 MB / 0.4993 GB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.003866, allocations: 4 kB / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.003879, allocations: 0 / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.003884, allocations: 0 / 0.4993 GB, free: 5.23 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.004819, allocations: 299.2 kB / 0.4995 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.004868, allocations: 0 / 0.4995 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.004906, allocations: 0 / 0.4995 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.004924, allocations: 4 kB / 0.4996 GB, free: 4.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.004945, allocations: 4 kB / 0.4996 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.004951, allocations: 0 / 0.4996 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.005559, allocations: 399.1 kB / 0.4999 GB, free: 4.539 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.266e-05/0.005582, allocations: 0 / 0.4999 GB, free: 4.539 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.629e-06/0.005586, allocations: 7.906 kB / 0.4999 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.005601, allocations: 4 kB / 0.4999 GB, free: 4.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.362e-06/0.005607, allocations: 0 / 0.4999 GB, free: 4.527 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.0003683/0.005975, allocations: 189.5 kB / 0.5001 GB, free: 4.223 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.898e-05/0.006014, allocations: 24.05 kB / 0.5001 GB, free: 4.188 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.234e-05/0.006097, allocations: 52.36 kB / 0.5002 GB, free: 4.109 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.367e-05/0.00617, allocations: 56.75 kB / 0.5003 GB, free: 4.008 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001019/0.006272, allocations: 84.58 kB / 0.5003 GB, free: 3.875 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.221e-05/0.006334, allocations: 64.73 kB / 0.5004 GB, free: 3.766 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.42e-05/0.006379, allocations: 36.38 kB / 0.5004 GB, free: 3.703 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001156/0.006494, allocations: 72.86 kB / 0.5005 GB, free: 3.578 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.338e-05/0.006518, allocations: 11.8 kB / 0.5005 GB, free: 3.566 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.883e-05/0.006596, allocations: 28.11 kB / 0.5005 GB, free: 3.531 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001248/0.006721, allocations: 20.12 kB / 0.5006 GB, free: 3.504 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.385e-05/0.006735, allocations: 8 kB / 0.5006 GB, free: 3.496 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001348/0.00687, allocations: 101.1 kB / 0.5007 GB, free: 3.328 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.674e-05/0.006897, allocations: 19.98 kB / 0.5007 GB, free: 3.305 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.03e-05/0.006907, allocations: 12.12 kB / 0.5007 GB, free: 3.285 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.189e-05/0.006919, allocations: 4 kB / 0.5007 GB, free: 3.281 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.592e-05/0.006985, allocations: 36.23 kB / 0.5007 GB, free: 3.238 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.456e-06/0.006993, allocations: 0 / 0.5007 GB, free: 3.238 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.006993, allocations: 0 / 0.5007 GB, free: 3.238 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.358e-06/0.006998, allocations: 0 / 0.5007 GB, free: 3.238 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 3.116e-06/0.007001, allocations: 4 kB / 0.5007 GB, free: 3.234 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.536e-06/0.00701, allocations: 4 kB / 0.5007 GB, free: 3.23 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.545e-05/0.007025, allocations: 4 kB / 0.5007 GB, free: 3.227 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 5.791e-06/0.007031, allocations: 0 / 0.5007 GB, free: 3.227 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 5.038e-05/0.007081, allocations: 35.11 kB / 0.5008 GB, free: 3.195 MB / 366.1 MB Notification: Performance of SimCode: time 0.001139/0.00822, allocations: 0.5682 MB / 0.5013 GB, free: 2.621 MB / 366.1 MB Notification: Performance of Templates: time 0.004165/0.01239, allocations: 1.209 MB / 0.5025 GB, free: 1.414 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.143364172894508]