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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 113.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2126, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00244/0.215, allocations: 1.547 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2173, allocations: 1.483 MB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.2174, allocations: 0 / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.2175, allocations: 7.875 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.2176, allocations: 27.73 kB / 413 MB, free: 14.46 MB / 334.1 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.001047/0.2186, allocations: 390.8 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2188, allocations: 135.5 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2188, allocations: 9.5 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.2189, allocations: 55.77 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.2194, allocations: 87.78 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2195, allocations: 8 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006499/0.2201, allocations: 419.2 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.2202, allocations: 43.83 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.2203, allocations: 63.61 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.2209, allocations: 406.7 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2209, allocations: 0 / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2209, allocations: 0 / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2209, allocations: 0 / 414.6 MB, free: 12.88 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.0007244/0.2216, allocations: 0.5213 MB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2217, allocations: 8.031 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.2219, allocations: 36.77 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2221, allocations: 213.7 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2221, allocations: 4.375 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.2221, allocations: 12.12 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2224, allocations: 124.2 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2224, allocations: 7.938 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2224, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2224, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.2226, allocations: 59.94 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.2234, allocations: 0.5555 MB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.2237, allocations: 147.8 kB / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.2239, allocations: 66.55 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2239, allocations: 0 / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.2241, allocations: 152.7 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.2242, allocations: 4 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000564/0.2247, allocations: 245.6 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.2248, allocations: 126.7 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.225, allocations: 191.7 kB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.225, allocations: 49.69 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2251, allocations: 108.5 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.2251, allocations: 51.8 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.2252, allocations: 57.69 kB / 417.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2253, allocations: 334.8 kB / 417.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2255, allocations: 95.94 kB / 417.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2258, allocations: 136.3 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.2261, allocations: 228.2 kB / 418.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2261, allocations: 0 / 418.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005203/0.2267, allocations: 305.5 kB / 418.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2267, allocations: 4 kB / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2267, allocations: 0 / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2267, allocations: 4 kB / 418.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2269, allocations: 31.91 kB / 418.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2269, allocations: 4 kB / 418.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.227, allocations: 27.78 kB / 418.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.227, allocations: 8 kB / 418.5 MB, free: 8.699 MB / 334.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.0001237/0.2271, allocations: 149.8 kB / 418.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.2272, allocations: 19.94 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.2272, allocations: 21.38 kB / 418.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2272, allocations: 7.938 kB / 418.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2272, allocations: 0 / 418.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2273, allocations: 100.9 kB / 418.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.2273, allocations: 16 kB / 418.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.2274, allocations: 7.984 kB / 418.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.2275, allocations: 11.98 kB / 418.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000473/0.228, allocations: 431.4 kB / 419.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004505/0.2284, allocations: 0.5166 MB / 419.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001432/0.2286, allocations: 63.97 kB / 419.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2287, allocations: 141.1 kB / 419.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2287, allocations: 0 / 419.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.23, allocations: 448.8 kB / 420.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005225/0.2305, allocations: 0.6872 MB / 421 MB, free: 6.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006901/0.2374, allocations: 3.788 MB / 424.8 MB, free: 2.238 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches