Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 192.5 kB / 23.72 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.91 MB / 352.4 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.16e-05, allocations: 8.891 kB / 495.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0013/0.001322, allocations: 0.4932 MB / 496.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.004024, allocations: 2.018 MB / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.229e-05/0.004037, allocations: 4 kB / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.004046, allocations: 0 / 498.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-06/0.004051, allocations: 0 / 498.4 MB, free: 15.41 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001247/0.005298, allocations: 0.4963 MB / 498.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.005343, allocations: 7.875 kB / 498.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.005373, allocations: 0 / 498.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.005387, allocations: 4 kB / 498.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.387e-05/0.005401, allocations: 0 / 498.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-06/0.005406, allocations: 0 / 498.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.006242, allocations: 0.6356 MB / 499.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.757e-05/0.00626, allocations: 0 / 499.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.755e-06/0.006263, allocations: 3.906 kB / 499.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.006274, allocations: 0 / 499.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.372e-06/0.00628, allocations: 4 kB / 499.6 MB, free: 14.26 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 Bindings: time 0.0002843/0.006564, allocations: 186.2 kB / 499.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.772e-05/0.006582, allocations: 6.812 kB / 499.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Early Inline: time 6.659e-05/0.006649, allocations: 48.5 kB / 499.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Simplify 1: time 3.852e-05/0.006687, allocations: 40.41 kB / 499.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Alias: time 8.127e-05/0.006769, allocations: 68.81 kB / 499.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.477e-05/0.006803, allocations: 40.36 kB / 500 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.418e-05/0.006837, allocations: 36.44 kB / 0.4883 GB, free: 13.57 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001264/0.006964, allocations: 70.73 kB / 0.4884 GB, free: 13.46 MB / 366.1 MB Notification: Performance of Events: time 1.414e-05/0.006978, allocations: 4 kB / 0.4884 GB, free: 13.46 MB / 366.1 MB Notification: Performance of Partitioning: time 4.483e-05/0.007023, allocations: 16.12 kB / 0.4884 GB, free: 13.44 MB / 366.1 MB Notification: Performance of Causalize: time 9.014e-05/0.007113, allocations: 24.11 kB / 0.4884 GB, free: 13.41 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.197e-05/0.007125, allocations: 7.938 kB / 0.4884 GB, free: 13.4 MB / 366.1 MB Notification: Performance of Simplify: time 9.854e-05/0.007224, allocations: 72.98 kB / 0.4885 GB, free: 13.28 MB / 366.1 MB Notification: Performance of Inline: time 2.661e-05/0.00725, allocations: 28.05 kB / 0.4885 GB, free: 13.25 MB / 366.1 MB Notification: Performance of Partitioning: time 1.44e-05/0.007265, allocations: 12.12 kB / 0.4885 GB, free: 13.23 MB / 366.1 MB Notification: Performance of Cleanup: time 1.587e-05/0.00728, allocations: 11.94 kB / 0.4885 GB, free: 13.21 MB / 366.1 MB Notification: Performance of Causalize: time 5.148e-05/0.007332, allocations: 28.09 kB / 0.4885 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Tearing: time 6.963e-06/0.007339, allocations: 0 / 0.4885 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Initialization: time 2.61e-07/0.007339, allocations: 0 / 0.4885 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.336e-06/0.007342, allocations: 4.188 kB / 0.4886 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Tearing: time 5.71e-07/0.007343, allocations: 0 / 0.4886 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Categorize: time 6.883e-06/0.00735, allocations: 7.938 kB / 0.4886 GB, free: 13.17 MB / 366.1 MB Notification: Performance of Solve: time 2.039e-05/0.00737, allocations: 7.984 kB / 0.4886 GB, free: 13.16 MB / 366.1 MB Notification: Performance of Jacobian: time 2.846e-06/0.007373, allocations: 0 / 0.4886 GB, free: 13.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: ............ 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: [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 2.708e-05/0.0074, allocations: 12.47 kB / 0.4886 GB, free: 13.15 MB / 366.1 MB Notification: Performance of SimCode: time 0.001634/0.009034, allocations: 1.419 MB / 0.49 GB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.006258/0.01529, allocations: 3.176 MB / 0.4931 GB, free: 8.582 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.1961997374892235]