Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 107.9 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 55.91 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3033, allocations: 49.42 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003723/0.3071, allocations: 1.844 MB / 402.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3096, allocations: 1.253 MB / 403.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.3098, allocations: 7.938 kB / 403.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.31, allocations: 19.73 kB / 403.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3101, allocations: 27.73 kB / 403.4 MB, free: 5.66 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001118/0.3112, allocations: 311.1 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.3115, allocations: 219.5 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3117, allocations: 67.27 kB / 404 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3119, allocations: 99.61 kB / 404.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.3125, allocations: 119.5 kB / 404.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3126, allocations: 23.94 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.3131, allocations: 275.5 kB / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.3132, allocations: 51.83 kB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3133, allocations: 103.5 kB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.3141, allocations: 389.7 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3141, allocations: 4 kB / 405 MB, free: 4.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3141, allocations: 4 kB / 405 MB, free: 4.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3141, allocations: 0 / 405 MB, free: 4.027 MB / 318.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.001309/0.3154, allocations: 0.5773 MB / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3155, allocations: 16.03 kB / 405.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.3156, allocations: 46.73 kB / 405.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.3159, allocations: 40.78 kB / 405.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3163, allocations: 245.1 kB / 405.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.3163, allocations: 16 kB / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.3164, allocations: 20 kB / 406 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.3169, allocations: 210.2 kB / 406.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3169, allocations: 4 kB / 406.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.317, allocations: 4 kB / 406.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.317, allocations: 7.984 kB / 406.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.3175, allocations: 152.1 kB / 406.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3186, allocations: 0.5788 MB / 406.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3197, allocations: 305.1 kB / 407.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.32, allocations: 120.8 kB / 407.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.32, allocations: 0 / 407.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.3204, allocations: 164.8 kB / 407.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.517e-06/0.3205, allocations: 4 kB / 407.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001107/0.3216, allocations: 355.6 kB / 407.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.3217, allocations: 67.39 kB / 407.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.322, allocations: 211.7 kB / 408.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.322, allocations: 37.7 kB / 408.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3221, allocations: 132.7 kB / 408.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.3222, allocations: 83.31 kB / 408.4 MB, free: 476 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3223, allocations: 65.69 kB / 408.4 MB, free: 404 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3225, allocations: 330.8 kB / 408.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.3229, allocations: 131.9 kB / 408.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.3233, allocations: 166 kB / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3239, allocations: 276.5 kB / 409.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3239, allocations: 0 / 409.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008153/0.3248, allocations: 373.2 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3248, allocations: 4 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3248, allocations: 0 / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3248, allocations: 7.938 kB / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.3251, allocations: 63.95 kB / 409.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.3252, allocations: 11.88 kB / 409.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3254, allocations: 39.84 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.3254, allocations: 8 kB / 409.8 MB, free: 14.99 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.0001684/0.3256, allocations: 145.8 kB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3256, allocations: 19.86 kB / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.3257, allocations: 25.86 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3257, allocations: 4 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3257, allocations: 3.938 kB / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3257, allocations: 0 / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3269, allocations: 0.6387 MB / 410.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3269, allocations: 0 / 410.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.3272, allocations: 43.89 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3272, allocations: 0 / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3272, allocations: 8 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3272, allocations: 0 / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3272, allocations: 3.938 kB / 410.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3283, allocations: 490.6 kB / 411.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.3284, allocations: 100.9 kB / 411.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3284, allocations: 8.062 kB / 411.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3286, allocations: 19.97 kB / 411.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.3287, allocations: 15.92 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3287, allocations: 11.98 kB / 411.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.3288, allocations: 147.2 kB / 411.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3288, allocations: 0 / 411.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3293, allocations: 99.73 kB / 411.6 MB, free: 13.12 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 (18): * Single equations (assignments): 16 * 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.001855/0.3312, allocations: 1.192 MB / 412.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.332, allocations: 273 kB / 413 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.332, allocations: 4.062 kB / 413 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.3324, allocations: 115.9 kB / 413.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3328, allocations: 27.92 kB / 413.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.3369, allocations: 2.804 MB / 416 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3373, allocations: 0.7437 MB / 416.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.3374, allocations: 33.94 kB / 416.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3376, allocations: 71.34 kB / 416.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3376, allocations: 0 / 416.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.366, allocations: 6.03 MB / 422.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/8.996, allocations: 18.19 kB / 422.9 MB, free: 1.828 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches