Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003118/0.3598, allocations: 1.557 MB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3627, allocations: 1.516 MB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.3628, allocations: 0 / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.363, allocations: 7.875 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3631, allocations: 31.73 kB / 435.2 MB, free: 4.25 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.3643, allocations: 390.8 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3646, allocations: 135.5 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.3646, allocations: 17.41 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.3647, allocations: 55.77 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.3654, allocations: 82.86 kB / 435.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3655, allocations: 12 kB / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.3662, allocations: 427.2 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3663, allocations: 47.77 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.3663, allocations: 67.61 kB / 436.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.367, allocations: 404.2 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.367, allocations: 4 kB / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.367, allocations: 0 / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.367, allocations: 0 / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009394/0.3679, allocations: 0.5213 MB / 437.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.368, allocations: 8.031 kB / 437.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.3682, allocations: 28.83 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3684, allocations: 217.7 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3685, allocations: 4.375 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3685, allocations: 12.12 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3688, allocations: 124.1 kB / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3688, allocations: 4 kB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3688, allocations: 4 kB / 437.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3688, allocations: 0 / 437.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.369, allocations: 63.94 kB / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.3699, allocations: 0.5478 MB / 438.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.3703, allocations: 147.7 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3704, allocations: 54.61 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3704, allocations: 4 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.3707, allocations: 153.8 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.3707, allocations: 0 / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006324/0.3713, allocations: 249.4 kB / 438.9 MB, free: 304 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3715, allocations: 126.7 kB / 439 MB, free: 152 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3717, allocations: 199.1 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.3717, allocations: 45.69 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.3718, allocations: 104.6 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3719, allocations: 43.69 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.372, allocations: 73.73 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3722, allocations: 330.8 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3724, allocations: 99.94 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3726, allocations: 132.8 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.373, allocations: 232.2 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.373, allocations: 4 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005402/0.3735, allocations: 293.4 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3736, allocations: 8.094 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3736, allocations: 4 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3736, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3738, allocations: 35.91 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3738, allocations: 4 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.3739, allocations: 23.78 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3739, allocations: 8 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.3741, allocations: 157.8 kB / 440.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.3741, allocations: 15.84 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3741, allocations: 17.39 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3741, allocations: 4 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3741, allocations: 0 / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.3741, allocations: 3.938 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.3744, allocations: 217.5 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3744, allocations: 0 / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.3744, allocations: 11.98 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3744, allocations: 4 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3745, allocations: 7.938 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3745, allocations: 4 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3745, allocations: 480 / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.3749, allocations: 246.5 kB / 441.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.375, allocations: 89.02 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.375, allocations: 19.98 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.3751, allocations: 4 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.3751, allocations: 19.86 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3751, allocations: 11.98 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3753, allocations: 137.2 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3753, allocations: 0 / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.3758, allocations: 127.6 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008346/0.3766, allocations: 348.4 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3771, allocations: 179.8 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3771, allocations: 4 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3772, allocations: 51.97 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3774, allocations: 8 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.3781, allocations: 330.6 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3784, allocations: 0.7162 MB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.3785, allocations: 19.44 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3785, allocations: 0 / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.007363/0.3858, allocations: 3.943 MB / 447.3 MB, free: 7.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.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: 8.213447812013328]