Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.88 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3023, allocations: 50.54 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003253/0.3056, allocations: 1.861 MB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3078, allocations: 1.305 MB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.3079, allocations: 0 / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3081, allocations: 23.73 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3082, allocations: 27.72 kB / 412 MB, free: 14.26 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.0008328/0.309, allocations: 311.1 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.3093, allocations: 223.4 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3095, allocations: 60.27 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3096, allocations: 99.61 kB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.3102, allocations: 123 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.3102, allocations: 20 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.3107, allocations: 279.5 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.3108, allocations: 59.83 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3109, allocations: 95.45 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3115, allocations: 393.7 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3115, allocations: 3.938 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3115, allocations: 0 / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3116, allocations: 4 kB / 413.6 MB, free: 12.62 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.001156/0.3127, allocations: 0.5812 MB / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3128, allocations: 8.031 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.3129, allocations: 54.69 kB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.3131, allocations: 36.72 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3134, allocations: 244.9 kB / 414.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3135, allocations: 20.38 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3135, allocations: 23.92 kB / 414.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.314, allocations: 210.3 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3141, allocations: 4 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.3141, allocations: 4 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3141, allocations: 4 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.3146, allocations: 168 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3158, allocations: 0.5827 MB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3169, allocations: 294.7 kB / 415.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3172, allocations: 116.8 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3173, allocations: 7.984 kB / 416 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.3177, allocations: 159.3 kB / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.3177, allocations: 0 / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001132/0.3189, allocations: 360.4 kB / 416.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.3189, allocations: 67.39 kB / 416.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3192, allocations: 218.7 kB / 416.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.3193, allocations: 41.7 kB / 416.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3194, allocations: 132.6 kB / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.3195, allocations: 75.38 kB / 417 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3196, allocations: 69.67 kB / 417.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.3199, allocations: 342.7 kB / 417.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.3202, allocations: 127.9 kB / 417.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.3206, allocations: 161.6 kB / 417.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.3213, allocations: 275.2 kB / 417.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3213, allocations: 0 / 417.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008673/0.3222, allocations: 370 kB / 418.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3222, allocations: 8.031 kB / 418.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3223, allocations: 7.969 kB / 418.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3223, allocations: 4 kB / 418.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.3226, allocations: 67.89 kB / 418.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3226, allocations: 0 / 418.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3228, allocations: 39.81 kB / 418.4 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3229, allocations: 12 kB / 418.4 MB, free: 7.555 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.0001652/0.323, allocations: 149.7 kB / 418.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3231, allocations: 19.86 kB / 418.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.3232, allocations: 29.8 kB / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3232, allocations: 0 / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3232, allocations: 0 / 418.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3232, allocations: 4 kB / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3244, allocations: 0.623 MB / 419.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3244, allocations: 0 / 419.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.3246, allocations: 47.89 kB / 419.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3247, allocations: 4 kB / 419.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3247, allocations: 7.938 kB / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3247, allocations: 0 / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3247, allocations: 0 / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3258, allocations: 492.9 kB / 419.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.3259, allocations: 108.8 kB / 419.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3259, allocations: 16.12 kB / 419.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3261, allocations: 19.97 kB / 419.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3262, allocations: 15.98 kB / 420 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3262, allocations: 7.984 kB / 420 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3264, allocations: 156.7 kB / 420.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3264, allocations: 0 / 420.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.3269, allocations: 99.8 kB / 420.2 MB, free: 5.68 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.001943/0.3288, allocations: 1.165 MB / 421.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.3296, allocations: 291.5 kB / 421.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3296, allocations: 0 / 421.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.33, allocations: 115.9 kB / 421.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3303, allocations: 27.94 kB / 421.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.3348, allocations: 2.816 MB / 424.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.3352, allocations: 0.7436 MB / 425.4 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.3353, allocations: 37.88 kB / 425.4 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3355, allocations: 67.41 kB / 425.5 MB, free: 316 kB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3355, allocations: 4 kB / 425.5 MB, free: 312 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.3774, allocations: 6.043 MB / 431.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.919, allocations: 0 / 431.5 MB, free: 10.37 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches