Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001292/0.001292, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002122/0.003414, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001277/0.001277, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.003096, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/1.12, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.583e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001847/0.001862, allocations: 1.61 MB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.0039, allocations: 1.48 MB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.003971, allocations: 4 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.004029, allocations: 11.81 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.004114, allocations: 23.78 kB / 248.2 MB, free: 10.48 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008592/0.004974, allocations: 370.4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.005136, allocations: 139.5 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.00518, allocations: 6.344 kB / 248.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.005321, allocations: 100.4 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.005681, allocations: 90.56 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.005707, allocations: 12 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/0.006384, allocations: 490.8 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.006431, allocations: 27.92 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.00647, allocations: 31.88 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.006925, allocations: 366.9 kB / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.00694, allocations: 8 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006941, allocations: 0 / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.006955, allocations: 3.984 kB / 249.8 MB, free: 8.887 MB / 250.7 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.0006261/0.007581, allocations: 471 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.007612, allocations: 8.625 kB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.007786, allocations: 118 kB / 250.3 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.007899, allocations: 152.5 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.007915, allocations: 8.375 kB / 250.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.00793, allocations: 12.31 kB / 250.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.008063, allocations: 95.58 kB / 250.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.00807, allocations: 4.188 kB / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.008078, allocations: 384 / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.008085, allocations: 7.922 kB / 250.6 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.026e-05/0.008125, allocations: 25.58 kB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.008474, allocations: 378.1 kB / 251 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.008594, allocations: 175.7 kB / 251.2 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.00862, allocations: 26.58 kB / 251.2 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.008628, allocations: 4 kB / 251.2 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.008752, allocations: 124 kB / 251.3 MB, free: 7.141 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.008753, allocations: 0 / 251.3 MB, free: 7.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001549/0.008908, allocations: 115.1 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.008969, allocations: 114.8 kB / 251.6 MB, free: 6.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.009073, allocations: 183.9 kB / 251.7 MB, free: 6.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.0091, allocations: 45.7 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.009143, allocations: 104.5 kB / 251.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.009185, allocations: 47.8 kB / 251.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.009238, allocations: 61.58 kB / 252 MB, free: 6.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.009318, allocations: 334.8 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.009361, allocations: 34.81 kB / 252.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.009421, allocations: 68.22 kB / 252.4 MB, free: 5.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.009517, allocations: 109.4 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.00952, allocations: 0 / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001339/0.009654, allocations: 148.3 kB / 252.7 MB, free: 5.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.009665, allocations: 8 kB / 252.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009671, allocations: 0 / 252.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.00968, allocations: 4 kB / 252.7 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.0098, allocations: 51.91 kB / 252.7 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009803, allocations: 0 / 252.7 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.009848, allocations: 23.88 kB / 252.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.009857, allocations: 4 kB / 252.8 MB, free: 5.609 MB / 250.7 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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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 8.708e-05/0.009944, allocations: 148.6 kB / 252.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.009959, allocations: 15.92 kB / 252.9 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.009983, allocations: 17.47 kB / 252.9 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009984, allocations: 96 / 252.9 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.009988, allocations: 4 kB / 252.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.009993, allocations: 7.969 kB / 253 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.246e-05/0.01009, allocations: 93.81 kB / 253 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01009, allocations: 0 / 253 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.01011, allocations: 11.98 kB / 253.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.01013, allocations: 15.84 kB / 253.1 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01014, allocations: 15.88 kB / 253.1 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.01014, allocations: 0 / 253.1 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01015, allocations: 7.984 kB / 253.1 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01015, allocations: 7.938 kB / 253.1 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.01025, allocations: 123.3 kB / 253.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01027, allocations: 8 kB / 253.2 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.0103, allocations: 11.94 kB / 253.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.01034, allocations: 11.97 kB / 253.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01034, allocations: 0 / 253.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.01038, allocations: 50.78 kB / 253.3 MB, free: 5.016 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01038, allocations: 4 kB / 253.3 MB, free: 5.012 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01062, allocations: 127.6 kB / 253.4 MB, free: 4.887 MB / 250.7 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.0005515/0.01117, allocations: 383 kB / 253.8 MB, free: 4.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01131, allocations: 92.89 kB / 253.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.01132, allocations: 4 kB / 253.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.01135, allocations: 39.73 kB / 253.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.01145, allocations: 23.98 kB / 254 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.01187, allocations: 285.2 kB / 254.2 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.01191, allocations: 67.84 kB / 254.3 MB, free: 3.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.557e-05/0.01195, allocations: 21.47 kB / 254.3 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.01201, allocations: 63.38 kB / 254.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01201, allocations: 0 / 254.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of Templates: time 0.005589/0.0176, allocations: 4.162 MB / 258.6 MB, free: 15.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.773785105906427]