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.001818/0.001818, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002266/0.002266, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001964/0.001964, allocations: 56.78 kB / 379 MB, free: 2.645 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002934/0.3101, allocations: 1.558 MB / 434 MB, free: 5.379 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002646/0.3127, allocations: 1.516 MB / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.3128, allocations: 0 / 435.5 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3129, allocations: 15.8 kB / 435.5 MB, free: 3.836 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.313, allocations: 23.8 kB / 435.5 MB, free: 3.812 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.001062/0.3141, allocations: 398.8 kB / 435.9 MB, free: 3.422 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3143, allocations: 135.5 kB / 436 MB, free: 3.289 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.3143, allocations: 9.688 kB / 436.1 MB, free: 3.273 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.3144, allocations: 59.75 kB / 436.1 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006771/0.3151, allocations: 88.56 kB / 436.2 MB, free: 3.137 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.3151, allocations: 19.88 kB / 436.2 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.3159, allocations: 475.1 kB / 436.7 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.316, allocations: 35.91 kB / 436.7 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.3161, allocations: 67.53 kB / 436.8 MB, free: 2.551 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.3168, allocations: 408.4 kB / 437.2 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3168, allocations: 0 / 437.2 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.3168, allocations: 0 / 437.2 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.805e-06/0.3168, allocations: 4 kB / 437.2 MB, free: 2.156 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.0009191/0.3177, allocations: 452.7 kB / 437.6 MB, free: 1.684 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3177, allocations: 8.031 kB / 437.6 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.318, allocations: 32.83 kB / 437.7 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3182, allocations: 155.9 kB / 437.8 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3182, allocations: 8.375 kB / 437.8 MB, free: 1.457 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3182, allocations: 16.11 kB / 437.8 MB, free: 1.441 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3185, allocations: 128.1 kB / 438 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3185, allocations: 0 / 438 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3185, allocations: 4 kB / 438 MB, free: 1.297 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3185, allocations: 0 / 438 MB, free: 1.297 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.3187, allocations: 67.89 kB / 438 MB, free: 1.23 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.3195, allocations: 0.5156 MB / 438.6 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3199, allocations: 139.7 kB / 438.7 MB, free: 0.5 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.32, allocations: 66.55 kB / 438.8 MB, free: 436 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.32, allocations: 4 kB / 438.8 MB, free: 432 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.3203, allocations: 149.8 kB / 438.9 MB, free: 260 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.3203, allocations: 4 kB / 438.9 MB, free: 256 kB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0005898/0.3209, allocations: 245.4 kB / 439.1 MB, free: 4 kB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.321, allocations: 126.9 kB / 439.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3212, allocations: 187.2 kB / 439.5 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3212, allocations: 49.69 kB / 439.5 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.3213, allocations: 104.7 kB / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.3214, allocations: 47.69 kB / 439.7 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.3215, allocations: 61.67 kB / 439.7 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001776/0.3217, allocations: 334.8 kB / 440 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3219, allocations: 95.94 kB / 440.1 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.3221, allocations: 140.1 kB / 440.3 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.3225, allocations: 224.2 kB / 440.5 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3225, allocations: 0 / 440.5 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005558/0.3231, allocations: 309.4 kB / 440.8 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3231, allocations: 7.938 kB / 440.8 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3231, allocations: 0 / 440.8 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3231, allocations: 4 kB / 440.8 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3233, allocations: 31.91 kB / 440.8 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3233, allocations: 4.469 kB / 440.8 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.3234, allocations: 31.72 kB / 440.9 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3234, allocations: 8 kB / 440.9 MB, free: 14.19 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.0001573/0.3236, allocations: 157.9 kB / 441 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.3236, allocations: 19.89 kB / 441.1 MB, free: 14 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.3236, allocations: 13.41 kB / 441.1 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3236, allocations: 4 kB / 441.1 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3236, allocations: 0 / 441.1 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3236, allocations: 3.938 kB / 441.1 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3238, allocations: 192.6 kB / 441.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3238, allocations: 0 / 441.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3239, allocations: 15.98 kB / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3239, allocations: 0 / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3239, allocations: 4 kB / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3239, allocations: 0 / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3239, allocations: 0 / 441.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.3244, allocations: 258.4 kB / 441.5 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.3244, allocations: 15.91 kB / 441.5 MB, free: 13.44 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3244, allocations: 11.98 kB / 441.6 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3245, allocations: 4 kB / 441.6 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3245, allocations: 19.91 kB / 441.6 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3246, allocations: 4 kB / 441.6 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001344/0.3247, allocations: 145.1 kB / 441.7 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3247, allocations: 0 / 441.7 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004271/0.3251, allocations: 123.6 kB / 441.8 MB, free: 13.14 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.00074/0.3259, allocations: 333.9 kB / 442.2 MB, free: 12.83 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004449/0.3263, allocations: 186.5 kB / 442.4 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3263, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3265, allocations: 55.91 kB / 442.4 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.3266, allocations: 12.23 kB / 442.4 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.3272, allocations: 284.9 kB / 442.7 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3276, allocations: 0.7162 MB / 443.4 MB, free: 11.53 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.344e-05/0.3276, allocations: 25.41 kB / 443.4 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3277, allocations: 15.44 kB / 443.5 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3277, allocations: 0 / 443.5 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of Templates: time 0.008603/0.3363, allocations: 3.644 MB / 447.1 MB, free: 7.852 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.859655203297734]