Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000807/0.0008071, allocations: 97.28 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009476/0.0009476, allocations: 205.8 kB / 18.29 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002271, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08781, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001675/0.08952, allocations: 1.242 MB / 360.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.09071, allocations: 0.5887 MB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.09079, allocations: 3.938 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.09089, allocations: 3.938 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.09097, allocations: 15.86 kB / 361.2 MB, free: 11.32 MB / 302.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.0005864/0.09156, allocations: 111.8 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.09172, allocations: 111.6 kB / 361.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.09179, allocations: 13.11 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.09186, allocations: 35.84 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.09259, allocations: 70.42 kB / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.09264, allocations: 8 kB / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.09288, allocations: 111.8 kB / 361.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.09294, allocations: 23.92 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.09302, allocations: 81.34 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.0933, allocations: 187.7 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.09331, allocations: 0 / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.09332, allocations: 3.938 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.09333, allocations: 3.938 kB / 362 MB, free: 10.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006275/0.09396, allocations: 438.9 kB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.09401, allocations: 8.031 kB / 362.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/0.09409, allocations: 38.73 kB / 362.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.09438, allocations: 40.72 kB / 362.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.09455, allocations: 200.1 kB / 362.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.09458, allocations: 8.359 kB / 362.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.09461, allocations: 8.375 kB / 362.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.09484, allocations: 123.2 kB / 362.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.09486, allocations: 0 / 362.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.09487, allocations: 0 / 362.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.09488, allocations: 4 kB / 362.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.09507, allocations: 67.95 kB / 362.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.09571, allocations: 460.7 kB / 363.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.09603, allocations: 145.1 kB / 363.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.09616, allocations: 69.77 kB / 363.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.09618, allocations: 4 kB / 363.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.09642, allocations: 145 kB / 363.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.09643, allocations: 0 / 363.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004871/0.09692, allocations: 237.4 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.09699, allocations: 101.2 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.09714, allocations: 170.3 kB / 364.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.0972, allocations: 49.69 kB / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.09726, allocations: 104.5 kB / 364.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.0973, allocations: 43.48 kB / 364.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.09735, allocations: 37.7 kB / 364.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.09748, allocations: 334.8 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.09767, allocations: 100.5 kB / 364.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.09789, allocations: 136.3 kB / 365 MB, free: 7.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.09824, allocations: 223.4 kB / 365.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.09825, allocations: 0 / 365.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004557/0.09871, allocations: 293.3 kB / 365.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.09874, allocations: 8.062 kB / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.09875, allocations: 0 / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.09877, allocations: 4 kB / 365.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.09892, allocations: 35.91 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.09894, allocations: 4 kB / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.09903, allocations: 27.69 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.09905, allocations: 4 kB / 365.5 MB, free: 6.676 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001287/0.09918, allocations: 154.8 kB / 365.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.09921, allocations: 15.81 kB / 365.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.09925, allocations: 21.33 kB / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.09926, allocations: 0 / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.09927, allocations: 0 / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.09928, allocations: 3.938 kB / 365.7 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.09946, allocations: 201.6 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.09947, allocations: 0 / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.09953, allocations: 15.98 kB / 365.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.09954, allocations: 3.938 kB / 366 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.09956, allocations: 4 kB / 366 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.09956, allocations: 4 kB / 366 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.09957, allocations: 3.938 kB / 366 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.09991, allocations: 233.7 kB / 366.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.09997, allocations: 92.91 kB / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1, allocations: 15.98 kB / 366.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.1001, allocations: 4 kB / 366.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1001, allocations: 19.91 kB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1001, allocations: 4 kB / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.1002, allocations: 132.2 kB / 366.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1002, allocations: 0 / 366.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1005, allocations: 47.98 kB / 366.5 MB, free: 5.621 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0009779/0.1015, allocations: 0.9319 MB / 367.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1019, allocations: 195.8 kB / 367.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1019, allocations: 0 / 367.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.102, allocations: 64.05 kB / 367.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.1022, allocations: 15.92 kB / 367.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1044, allocations: 2.141 MB / 369.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1046, allocations: 0.7119 MB / 370.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.1047, allocations: 16.88 kB / 370.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.1048, allocations: 39.42 kB / 370.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1048, allocations: 0 / 370.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/0.2558, allocations: 3.229 MB / 373.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.256, allocations: 235.9 kB / 374.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.96, allocations: 0 / 374.1 MB, free: 18.31 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches