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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007644/0.0007645, allocations: 100.8 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.212e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4981, allocations: 79.16 MB / 474.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.4983, allocations: 66.7 kB / 474.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.5187, allocations: 7.709 MB / 482.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5187, allocations: 0 / 482.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.5188, allocations: 7.938 kB / 482.1 MB, free: 7.484 MB / 346.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.0006249/0.5194, allocations: 0.5014 MB / 482.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.5194, allocations: 8.031 kB / 482.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.5196, allocations: 35.73 kB / 482.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5198, allocations: 187.9 kB / 482.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5198, allocations: 7.609 kB / 482.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.5198, allocations: 4 kB / 482.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.506e-05/0.5199, allocations: 43.3 kB / 482.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.5201, allocations: 107.6 kB / 483 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5201, allocations: 4 kB / 483 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5201, allocations: 0 / 483 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5201, allocations: 4 kB / 483 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.5207, allocations: 0.5417 MB / 483.5 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.5209, allocations: 120.4 kB / 483.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.5209, allocations: 48.7 kB / 483.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5209, allocations: 4 kB / 483.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5211, allocations: 142.7 kB / 483.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.5211, allocations: 0 / 483.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005862/0.5217, allocations: 207 kB / 484.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5218, allocations: 125.5 kB / 484.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.5219, allocations: 172.3 kB / 484.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.5219, allocations: 40.94 kB / 484.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.522, allocations: 111.4 kB / 484.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.522, allocations: 38.17 kB / 484.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.522, allocations: 0 / 484.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.5221, allocations: 334.4 kB / 484.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.5222, allocations: 73.02 kB / 484.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5223, allocations: 111 kB / 485 MB, free: 4.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.5228, allocations: 121.8 kB / 485.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5228, allocations: 3.953 kB / 485.2 MB, free: 4.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006264/0.5235, allocations: 279 kB / 485.4 MB, free: 4.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5235, allocations: 7.984 kB / 485.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5235, allocations: 4 kB / 485.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5235, allocations: 4 kB / 485.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5237, allocations: 30.98 kB / 485.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5237, allocations: 0 / 485.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.5238, allocations: 27.86 kB / 485.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.5238, allocations: 15.44 kB / 485.5 MB, free: 4.195 MB / 346.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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.5239, allocations: 129.2 kB / 485.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.5239, allocations: 19.75 kB / 485.7 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.524, allocations: 13.09 kB / 485.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.524, allocations: 4 kB / 485.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.524, allocations: 0 / 485.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.524, allocations: 0 / 485.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5241, allocations: 195.2 kB / 485.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5241, allocations: 0 / 485.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.5242, allocations: 15.98 kB / 485.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5242, allocations: 3.953 kB / 485.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5242, allocations: 11.92 kB / 485.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5242, allocations: 2.062 kB / 485.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5242, allocations: 0 / 485.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.5247, allocations: 267.9 kB / 486.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.5248, allocations: 96.84 kB / 486.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.5248, allocations: 11.12 kB / 486.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.5249, allocations: 7.984 kB / 486.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.525, allocations: 23.86 kB / 486.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.525, allocations: 7.984 kB / 486.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.5251, allocations: 126 kB / 486.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5251, allocations: 4 kB / 486.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.5256, allocations: 158.6 kB / 486.6 MB, free: 3.117 MB / 346.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008967/0.5265, allocations: 393.7 kB / 487 MB, free: 2.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.5268, allocations: 217.9 kB / 487.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5268, allocations: 0 / 487.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.145e-05/0.5269, allocations: 54.11 kB / 487.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.527, allocations: 12.7 kB / 487.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.5273, allocations: 201.2 kB / 487.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.5275, allocations: 0.7201 MB / 488.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.5275, allocations: 20.3 kB / 488.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.5276, allocations: 19.42 kB / 488.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5276, allocations: 0 / 488.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Templates: time 0.00659/0.5342, allocations: 3.498 MB / 491.7 MB, free: 14.13 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches