Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.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.001191/0.001191, 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.00166/0.00166, allocations: 206.8 kB / 24.49 MB, free: 3.961 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.55/1.55, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2592/0.2592, allocations: 46.96 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.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.306e-05, allocations: 8.609 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001665/0.001698, allocations: 0.501 MB / 0.4978 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.005038, allocations: 1.927 MB / 0.4996 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.005062, allocations: 4 kB / 0.4996 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.005075, allocations: 0 / 0.4996 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.005081, allocations: 0 / 0.4996 GB, free: 4.828 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.006711, allocations: 0.498 MB / 0.5001 GB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.006769, allocations: 4 kB / 0.5001 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.006836, allocations: 7.984 kB / 0.5001 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.006857, allocations: 0 / 0.5001 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.006881, allocations: 3.984 kB / 0.5001 GB, free: 4.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.006889, allocations: 0 / 0.5001 GB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.007928, allocations: 0.6824 MB / 0.5008 GB, free: 3.633 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.133e-05/0.007959, allocations: 11.92 kB / 0.5008 GB, free: 3.621 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.366e-06/0.007962, allocations: 3.906 kB / 0.5008 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.00798, allocations: 4 kB / 0.5008 GB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.227e-06/0.007989, allocations: 0 / 0.5008 GB, free: 3.613 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.0004393/0.008429, allocations: 201.6 kB / 0.501 GB, free: 3.297 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.873e-05/0.008467, allocations: 19.98 kB / 0.501 GB, free: 3.266 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.286e-05/0.00855, allocations: 52.36 kB / 0.5011 GB, free: 3.188 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.647e-05/0.008627, allocations: 56.75 kB / 0.5011 GB, free: 3.086 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.133e-05/0.008718, allocations: 84.59 kB / 0.5012 GB, free: 2.953 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.524e-05/0.008783, allocations: 60.73 kB / 0.5013 GB, free: 2.848 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.086e-05/0.008824, allocations: 40.44 kB / 0.5013 GB, free: 2.781 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001033/0.008927, allocations: 84.78 kB / 0.5014 GB, free: 2.645 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.102e-05/0.008949, allocations: 3.859 kB / 0.5014 GB, free: 2.641 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.892e-05/0.009037, allocations: 32.05 kB / 0.5014 GB, free: 2.602 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001248/0.009162, allocations: 16.12 kB / 0.5015 GB, free: 2.578 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.313e-05/0.009175, allocations: 8 kB / 0.5015 GB, free: 2.57 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001412/0.009317, allocations: 97.11 kB / 0.5016 GB, free: 2.406 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.081e-05/0.009357, allocations: 36.16 kB / 0.5016 GB, free: 2.367 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.454e-05/0.009372, allocations: 16.12 kB / 0.5016 GB, free: 2.344 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.553e-05/0.009387, allocations: 4 kB / 0.5016 GB, free: 2.34 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.559e-05/0.009453, allocations: 24.11 kB / 0.5016 GB, free: 2.309 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.02e-05/0.009463, allocations: 0 / 0.5016 GB, free: 2.309 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.009464, allocations: 0 / 0.5016 GB, free: 2.309 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.232e-06/0.00947, allocations: 4 kB / 0.5016 GB, free: 2.305 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5e-07/0.00947, allocations: 0 / 0.5016 GB, free: 2.305 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.614e-06/0.009478, allocations: 4.188 kB / 0.5016 GB, free: 2.301 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.397e-05/0.009492, allocations: 7.938 kB / 0.5016 GB, free: 2.293 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 6.232e-06/0.009498, allocations: 0 / 0.5016 GB, free: 2.293 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.004e-05/0.009538, allocations: 15.8 kB / 0.5017 GB, free: 2.277 MB / 366.1 MB Notification: Performance of SimCode: time 0.001846/0.01138, allocations: 0.9027 MB / 0.5025 GB, free: 1.398 MB / 366.1 MB Notification: Performance of Templates: time 0.007569/0.01895, allocations: 3.279 MB / 0.5057 GB, free: 14.12 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestSpecial.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.418886181898415]