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.0008631/0.0008631, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001943, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007084/0.0007084, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008847/0.001593, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.104/1.104, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09716/1.201, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.183e-06/1.183e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.334e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001584/0.001598, allocations: 1.614 MB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003124, allocations: 1.469 MB / 248.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.003176, allocations: 0 / 248.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.933e-05/0.003225, allocations: 15.86 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.003296, allocations: 23.73 kB / 248.3 MB, free: 10.36 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.0005764/0.003872, allocations: 370.4 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.004009, allocations: 131.6 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.004046, allocations: 14.33 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.004167, allocations: 104.4 kB / 249 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.004479, allocations: 91.33 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.004501, allocations: 12 kB / 249.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.005026, allocations: 494.8 kB / 249.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.00508, allocations: 27.88 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.005116, allocations: 35.88 kB / 249.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.00553, allocations: 370.9 kB / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.00554, allocations: 0 / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005541, allocations: 0 / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.005549, allocations: 0 / 250 MB, free: 8.754 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.0006003/0.00615, allocations: 471 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.00618, allocations: 12.62 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.006359, allocations: 117.9 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.006476, allocations: 159.6 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.00649, allocations: 4.375 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.006504, allocations: 8.375 kB / 250.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.006631, allocations: 95.53 kB / 250.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.006637, allocations: 192 / 250.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.006646, allocations: 4.359 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.006667, allocations: 7.938 kB / 250.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.006705, allocations: 25.58 kB / 250.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.007032, allocations: 390.2 kB / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.007147, allocations: 175.5 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.007172, allocations: 22.58 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.007181, allocations: 4 kB / 251.4 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.007295, allocations: 123.6 kB / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 8.02e-07/0.007295, allocations: 0 / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001426/0.007438, allocations: 111.2 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.007488, allocations: 122.9 kB / 251.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.007575, allocations: 183.4 kB / 252 MB, free: 6.543 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.007601, allocations: 45.69 kB / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.007641, allocations: 108.5 kB / 252.1 MB, free: 6.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.007669, allocations: 39.67 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.00772, allocations: 57.66 kB / 252.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.007798, allocations: 338.8 kB / 252.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.007838, allocations: 30.81 kB / 252.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.007888, allocations: 60.3 kB / 252.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.007979, allocations: 113.4 kB / 252.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007982, allocations: 0 / 252.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001311/0.008113, allocations: 148.3 kB / 252.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008124, allocations: 7.938 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.00813, allocations: 0 / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.00814, allocations: 4 kB / 252.9 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.008253, allocations: 51.91 kB / 252.9 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008256, allocations: 0 / 252.9 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.008298, allocations: 27.97 kB / 253 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.008309, allocations: 7.984 kB / 253 MB, free: 5.465 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 7.974e-05/0.008388, allocations: 140.5 kB / 253.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.008403, allocations: 11.98 kB / 253.1 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.008431, allocations: 25.39 kB / 253.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008433, allocations: 4 kB / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008435, allocations: 0 / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008438, allocations: 0 / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.791e-05/0.008526, allocations: 97.8 kB / 253.2 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008528, allocations: 8 kB / 253.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.008547, allocations: 8 kB / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.008562, allocations: 15.94 kB / 253.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.008565, allocations: 11.92 kB / 253.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008573, allocations: 7.922 kB / 253.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008574, allocations: 0 / 253.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.008577, allocations: 4 kB / 253.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.008677, allocations: 127.2 kB / 253.4 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.008695, allocations: 8 kB / 253.4 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.008722, allocations: 11.98 kB / 253.4 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.008758, allocations: 15.92 kB / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.008762, allocations: 0 / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.008802, allocations: 54.72 kB / 253.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008802, allocations: 0 / 253.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.009014, allocations: 123.7 kB / 253.6 MB, free: 4.75 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.0005331/0.009547, allocations: 390.2 kB / 254 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.009674, allocations: 92.91 kB / 254.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.009678, allocations: 7.984 kB / 254.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.009718, allocations: 41 kB / 254.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.009827, allocations: 31.98 kB / 254.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.01023, allocations: 273.1 kB / 254.4 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.01026, allocations: 71.83 kB / 254.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.0103, allocations: 17.48 kB / 254.5 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.01036, allocations: 67.36 kB / 254.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01036, allocations: 4.094 kB / 254.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of Templates: time 0.004971/0.01533, allocations: 4.163 MB / 258.8 MB, free: 15.61 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.678106376901269]