Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001899/0.0019, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2941, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002936/0.2971, allocations: 1.881 MB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.2988, allocations: 1.005 MB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.2989, allocations: 3.938 kB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2991, allocations: 15.75 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2993, allocations: 35.7 kB / 411.7 MB, free: 14.58 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.0005787/0.2999, allocations: 191.5 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.3002, allocations: 219.4 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3003, allocations: 64.25 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3005, allocations: 103.6 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.301, allocations: 119.5 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.3011, allocations: 20 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.3013, allocations: 127.8 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.3014, allocations: 55.81 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3015, allocations: 99.41 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.3019, allocations: 293.9 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3019, allocations: 4 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3019, allocations: 3.984 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3019, allocations: 0 / 413 MB, free: 13.3 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001143/0.3031, allocations: 0.558 MB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3031, allocations: 8.031 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.3032, allocations: 58.69 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.3034, allocations: 36.78 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.3037, allocations: 248.9 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3037, allocations: 12.38 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3038, allocations: 23.94 kB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.3043, allocations: 202.3 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3043, allocations: 0 / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3043, allocations: 8 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3043, allocations: 4 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.3048, allocations: 172 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3059, allocations: 0.5826 MB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3069, allocations: 306.7 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.3072, allocations: 116.8 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3073, allocations: 0 / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.3077, allocations: 160.4 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.3077, allocations: 0 / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001036/0.3087, allocations: 360.6 kB / 415.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3088, allocations: 67.39 kB / 415.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.309, allocations: 222.7 kB / 416.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.309, allocations: 45.69 kB / 416.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.3091, allocations: 124.6 kB / 416.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.3092, allocations: 79.36 kB / 416.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.3093, allocations: 73.69 kB / 416.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3094, allocations: 334.8 kB / 416.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.3098, allocations: 131.9 kB / 416.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.3102, allocations: 161.6 kB / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.3108, allocations: 275.2 kB / 417.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3108, allocations: 0 / 417.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008347/0.3117, allocations: 378 kB / 417.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3117, allocations: 4 kB / 417.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3117, allocations: 0 / 417.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3117, allocations: 4 kB / 417.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3121, allocations: 71.88 kB / 417.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3121, allocations: 4 kB / 417.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3123, allocations: 43.75 kB / 417.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.3123, allocations: 8 kB / 417.8 MB, free: 8.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.000131/0.3124, allocations: 149.7 kB / 417.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.3125, allocations: 23.86 kB / 418 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.3125, allocations: 17.88 kB / 418 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3126, allocations: 4 kB / 418 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3126, allocations: 3.938 kB / 418 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3126, allocations: 3.984 kB / 418 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3136, allocations: 0.623 MB / 418.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3136, allocations: 0 / 418.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.3139, allocations: 51.89 kB / 418.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3139, allocations: 0 / 418.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3139, allocations: 7.984 kB / 418.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.314, allocations: 4 kB / 418.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.314, allocations: 0 / 418.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.315, allocations: 483 kB / 419.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3151, allocations: 100.8 kB / 419.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3151, allocations: 8.062 kB / 419.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3153, allocations: 23.97 kB / 419.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3154, allocations: 11.98 kB / 419.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3154, allocations: 7.984 kB / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.3155, allocations: 160.7 kB / 419.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 419.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.3159, allocations: 63.92 kB / 419.5 MB, free: 6.422 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001579/0.3175, allocations: 1.115 MB / 420.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.3182, allocations: 291.5 kB / 420.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3182, allocations: 0 / 420.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3186, allocations: 115.9 kB / 421 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3189, allocations: 27.94 kB / 421.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.3229, allocations: 2.806 MB / 423.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3232, allocations: 0.7436 MB / 424.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3233, allocations: 33.92 kB / 424.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3234, allocations: 67.41 kB / 424.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3234, allocations: 4 kB / 424.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3457, allocations: 5.28 MB / 430 MB, free: 11.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.555, allocations: 11.81 kB / 430 MB, free: 11.93 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches