Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.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.001969/0.001969, allocations: 107.6 kB / 21.2 MB, free: 0.4961 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.002184/0.002184, allocations: 215.5 kB / 24.5 MB, free: 3.805 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.604/1.604, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2689/0.2689, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.516e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001524/0.001549, allocations: 0.501 MB / 0.4978 GB, free: 6.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.004849, allocations: 2.012 MB / 0.4997 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.004869, allocations: 0 / 0.4997 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.00488, allocations: 0 / 0.4997 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.004886, allocations: 3.938 kB / 0.4997 GB, free: 4.73 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.006406, allocations: 0.5171 MB / 0.5002 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.006457, allocations: 8 kB / 0.5002 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.006499, allocations: 3.984 kB / 0.5002 GB, free: 4.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.006517, allocations: 4 kB / 0.5002 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.637e-05/0.006534, allocations: 0 / 0.5002 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.00654, allocations: 0 / 0.5002 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.007642, allocations: 0.6901 MB / 0.5009 GB, free: 3.508 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.473e-05/0.007667, allocations: 7.984 kB / 0.5009 GB, free: 3.5 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.986e-06/0.00767, allocations: 7.906 kB / 0.5009 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.007686, allocations: 4 kB / 0.5009 GB, free: 3.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.123e-06/0.007693, allocations: 0 / 0.5009 GB, free: 3.488 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.0003844/0.008077, allocations: 193.6 kB / 0.5011 GB, free: 3.18 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.79e-05/0.008115, allocations: 27.98 kB / 0.5011 GB, free: 3.141 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.498e-05/0.00821, allocations: 52.38 kB / 0.5012 GB, free: 3.062 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.209e-05/0.008292, allocations: 60.73 kB / 0.5013 GB, free: 2.957 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.03e-05/0.008382, allocations: 76.59 kB / 0.5013 GB, free: 2.832 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.013e-05/0.008462, allocations: 76.66 kB / 0.5014 GB, free: 2.711 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.737e-05/0.0085, allocations: 36.44 kB / 0.5014 GB, free: 2.648 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.662e-05/0.008596, allocations: 72.86 kB / 0.5015 GB, free: 2.523 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.252e-05/0.008619, allocations: 11.86 kB / 0.5015 GB, free: 2.512 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.988e-05/0.008699, allocations: 20.06 kB / 0.5015 GB, free: 2.484 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001267/0.008826, allocations: 24.11 kB / 0.5016 GB, free: 2.453 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.718e-05/0.008843, allocations: 8 kB / 0.5016 GB, free: 2.445 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001264/0.008969, allocations: 97.11 kB / 0.5017 GB, free: 2.281 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.005e-05/0.009009, allocations: 36.09 kB / 0.5017 GB, free: 2.242 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.24e-05/0.009022, allocations: 8.125 kB / 0.5017 GB, free: 2.227 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.516e-05/0.009037, allocations: 12 kB / 0.5017 GB, free: 2.215 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.536e-05/0.009102, allocations: 28.11 kB / 0.5017 GB, free: 2.18 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.776e-06/0.009111, allocations: 0 / 0.5017 GB, free: 2.18 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.1e-07/0.009111, allocations: 0 / 0.5017 GB, free: 2.18 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.967e-06/0.009115, allocations: 0 / 0.5017 GB, free: 2.18 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.01e-07/0.009116, allocations: 0 / 0.5017 GB, free: 2.18 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.672e-06/0.009123, allocations: 8.188 kB / 0.5017 GB, free: 2.172 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.544e-05/0.009138, allocations: 11.94 kB / 0.5018 GB, free: 2.16 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 5.581e-06/0.009144, allocations: 0 / 0.5018 GB, free: 2.16 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.024e-05/0.009184, allocations: 25.09 kB / 0.5018 GB, free: 2.141 MB / 366.1 MB Notification: Performance of SimCode: time 0.001807/0.01099, allocations: 0.8951 MB / 0.5027 GB, free: 1.27 MB / 366.1 MB Notification: Performance of Templates: time 0.007936/0.01893, allocations: 3.463 MB / 0.506 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.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.734830749686807]