Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.001591/0.001591, 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.001995/0.001995, allocations: 215.5 kB / 24.5 MB, free: 3.93 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.654/1.654, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2477/0.2477, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.026e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001797/0.001828, allocations: 0.5075 MB / 0.4978 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.005962, allocations: 2.238 MB / 0.5 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.005977, allocations: 4 kB / 0.5 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.005998, allocations: 0 / 0.5 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.006004, allocations: 0 / 0.5 GB, free: 4.512 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:1098:5-1194:31:writable] Warning: Pure function 'ModelicaTest.Math.Random.truncatedDistributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.007721, allocations: 0.587 MB / 0.5005 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.007789, allocations: 7.984 kB / 0.5005 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.007836, allocations: 0 / 0.5005 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.007855, allocations: 0 / 0.5005 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.928e-05/0.007874, allocations: 3.938 kB / 0.5005 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.00788, allocations: 4 kB / 0.5005 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.009135, allocations: 0.7214 MB / 0.5012 GB, free: 3.188 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.507e-05/0.00917, allocations: 7.938 kB / 0.5013 GB, free: 3.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.621e-06/0.009175, allocations: 7.906 kB / 0.5013 GB, free: 3.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.009189, allocations: 0 / 0.5013 GB, free: 3.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-05/0.009199, allocations: 0 / 0.5013 GB, free: 3.172 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.000418/0.009617, allocations: 205.5 kB / 0.5015 GB, free: 2.852 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.891e-05/0.009656, allocations: 20.03 kB / 0.5015 GB, free: 2.82 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.114e-05/0.009747, allocations: 52.38 kB / 0.5015 GB, free: 2.742 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.783e-05/0.009825, allocations: 64.73 kB / 0.5016 GB, free: 2.633 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001689/0.009994, allocations: 80.59 kB / 0.5017 GB, free: 2.504 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.668e-05/0.01007, allocations: 68.73 kB / 0.5017 GB, free: 2.391 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.951e-05/0.01011, allocations: 32.44 kB / 0.5018 GB, free: 2.332 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.952e-05/0.01021, allocations: 76.8 kB / 0.5018 GB, free: 2.203 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.469e-05/0.01023, allocations: 11.84 kB / 0.5018 GB, free: 2.191 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.431e-05/0.01032, allocations: 24.12 kB / 0.5019 GB, free: 2.16 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001322/0.01045, allocations: 20.11 kB / 0.5019 GB, free: 2.133 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.537e-05/0.01047, allocations: 8 kB / 0.5019 GB, free: 2.125 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002465/0.01071, allocations: 101 kB / 0.502 GB, free: 1.957 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.085e-05/0.01075, allocations: 32.03 kB / 0.502 GB, free: 1.922 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.151e-05/0.01077, allocations: 8.125 kB / 0.502 GB, free: 1.906 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.866e-05/0.01078, allocations: 8 kB / 0.502 GB, free: 1.898 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001265/0.01091, allocations: 28.3 kB / 0.5021 GB, free: 1.863 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.797e-05/0.01093, allocations: 3.938 kB / 0.5021 GB, free: 1.859 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4e-07/0.01093, allocations: 0 / 0.5021 GB, free: 1.859 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.099e-06/0.01093, allocations: 0 / 0.5021 GB, free: 1.859 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 7.21e-07/0.01093, allocations: 4 kB / 0.5021 GB, free: 1.855 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.039e-05/0.01094, allocations: 4 kB / 0.5021 GB, free: 1.852 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.407e-05/0.01096, allocations: 0 / 0.5021 GB, free: 1.852 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.206e-05/0.01097, allocations: 3.938 kB / 0.5021 GB, free: 1.848 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 6.076e-05/0.01103, allocations: 26.98 kB / 0.5021 GB, free: 1.824 MB / 366.1 MB Notification: Performance of SimCode: time 0.00241/0.01344, allocations: 1.009 MB / 0.5031 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of Templates: time 0.008654/0.0221, allocations: 3.549 MB / 0.5066 GB, free: 13.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.878541341051459]