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.001172/0.001172, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 50.53 MB / 409.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002714/0.2537, allocations: 1.539 MB / 411.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.256, allocations: 1.479 MB / 413 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.256, allocations: 0 / 413 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.2562, allocations: 11.81 kB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.2563, allocations: 31.77 kB / 413 MB, free: 14.67 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.001032/0.2573, allocations: 386.8 kB / 413.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2575, allocations: 135.5 kB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.2576, allocations: 17.47 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.2576, allocations: 55.7 kB / 413.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.2582, allocations: 74.55 kB / 413.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.2582, allocations: 12 kB / 413.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.2589, allocations: 415.3 kB / 414.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.2589, allocations: 35.84 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.259, allocations: 67.53 kB / 414.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2596, allocations: 414.9 kB / 414.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2596, allocations: 0 / 414.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2596, allocations: 4 kB / 414.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2596, allocations: 0 / 414.6 MB, free: 13.08 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.0007995/0.2604, allocations: 0.504 MB / 415.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2604, allocations: 8.031 kB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.2607, allocations: 40.66 kB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2609, allocations: 205.7 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2609, allocations: 12.38 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.2609, allocations: 12.06 kB / 415.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.2612, allocations: 122.7 kB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2612, allocations: 0 / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2612, allocations: 8 kB / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2612, allocations: 0 / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2615, allocations: 67.89 kB / 415.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.2622, allocations: 0.5399 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.2625, allocations: 155.7 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2627, allocations: 70.53 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2627, allocations: 11.98 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.263, allocations: 145.8 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.263, allocations: 0 / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005853/0.2636, allocations: 253.5 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.2637, allocations: 114.8 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2638, allocations: 203.5 kB / 417 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.2639, allocations: 45.7 kB / 417.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.264, allocations: 108.5 kB / 417.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.264, allocations: 43.45 kB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.2641, allocations: 61.69 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2642, allocations: 338.9 kB / 417.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.2644, allocations: 91.95 kB / 417.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.2646, allocations: 140.2 kB / 417.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.265, allocations: 224.2 kB / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.265, allocations: 0 / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005293/0.2656, allocations: 301.2 kB / 418.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2656, allocations: 8 kB / 418.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2656, allocations: 0 / 418.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2656, allocations: 8.094 kB / 418.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2658, allocations: 31.92 kB / 418.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.2658, allocations: 4 kB / 418.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.2659, allocations: 23.67 kB / 418.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.266, allocations: 12 kB / 418.4 MB, free: 8.918 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.0001496/0.2661, allocations: 149.7 kB / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2661, allocations: 15.81 kB / 418.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.2662, allocations: 17.41 kB / 418.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2662, allocations: 7.922 kB / 418.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2662, allocations: 4 kB / 418.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.2663, allocations: 96.8 kB / 418.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2663, allocations: 19.92 kB / 418.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.2664, allocations: 4 kB / 418.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.2665, allocations: 11.98 kB / 418.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005133/0.267, allocations: 431.4 kB / 419.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004833/0.2675, allocations: 0.5088 MB / 419.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001556/0.2677, allocations: 72.12 kB / 419.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2678, allocations: 133.2 kB / 419.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of Backend: time 6.82e-07/0.2678, allocations: 0 / 419.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2693, allocations: 437.4 kB / 420.3 MB, free: 6.996 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006232/0.2699, allocations: 0.6913 MB / 421 MB, free: 6.258 MB / 334.1 MB Notification: Performance of Templates: time 0.008114/0.278, allocations: 3.812 MB / 424.8 MB, free: 2.465 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