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.001474/0.001474, allocations: 104.7 kB / 16.92 MB, free: 5.777 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.001705/0.001705, allocations: 187.3 kB / 17.85 MB, free: 5.168 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.286/1.286, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009984, allocations: 49.02 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08577, allocations: 49.45 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003186/0.08899, allocations: 1.837 MB / 352 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.09101, allocations: 1.243 MB / 353.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.0911, allocations: 4 kB / 353.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.09122, allocations: 23.67 kB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.09132, allocations: 27.67 kB / 353.3 MB, free: 1.168 MB / 286.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.0008024/0.09213, allocations: 319.1 kB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.09236, allocations: 211.6 kB / 353.8 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.09255, allocations: 64.12 kB / 353.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.09266, allocations: 103.5 kB / 354 MB, free: 496 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.09322, allocations: 122.5 kB / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.09327, allocations: 20 kB / 354.1 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.09368, allocations: 275.5 kB / 354.4 MB, free: 80 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.09376, allocations: 55.83 kB / 354.4 MB, free: 24 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.09387, allocations: 99.45 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.09433, allocations: 387.2 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09434, allocations: 0 / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09435, allocations: 0 / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09436, allocations: 0 / 354.9 MB, free: 15.55 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009935/0.09536, allocations: 0.57 MB / 355.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.09541, allocations: 12.03 kB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.756e-05/0.09549, allocations: 58.72 kB / 355.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.09571, allocations: 28.66 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.09594, allocations: 237.4 kB / 355.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.09598, allocations: 16 kB / 355.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.09603, allocations: 31.88 kB / 355.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.0965, allocations: 202.3 kB / 356.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.09652, allocations: 11.94 kB / 356.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.09655, allocations: 4 kB / 356.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.09656, allocations: 4 kB / 356.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.09702, allocations: 148.2 kB / 356.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.09799, allocations: 0.5825 MB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.09902, allocations: 306.6 kB / 357.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.09932, allocations: 112.8 kB / 357.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.09934, allocations: 0 / 357.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.09972, allocations: 177.4 kB / 357.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.09974, allocations: 3.938 kB / 357.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009771/0.1007, allocations: 353.1 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1008, allocations: 67.39 kB / 357.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.101, allocations: 199.9 kB / 358 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1011, allocations: 41.72 kB / 358 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.1012, allocations: 132.5 kB / 358.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.1012, allocations: 78.92 kB / 358.2 MB, free: 12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.1013, allocations: 69.67 kB / 358.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1015, allocations: 330.8 kB / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.1018, allocations: 127.9 kB / 358.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.1022, allocations: 173.5 kB / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.1028, allocations: 268.2 kB / 359.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1028, allocations: 0 / 359.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008072/0.1036, allocations: 368.9 kB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1037, allocations: 4 kB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1037, allocations: 4.031 kB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1037, allocations: 7.984 kB / 359.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.104, allocations: 67.89 kB / 359.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.104, allocations: 11.92 kB / 359.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1042, allocations: 39.66 kB / 359.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1043, allocations: 8 kB / 359.7 MB, free: 10.52 MB / 302.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.0001359/0.1044, allocations: 153.8 kB / 359.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1044, allocations: 19.81 kB / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.1045, allocations: 21.88 kB / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1045, allocations: 0 / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1045, allocations: 7.922 kB / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1045, allocations: 0 / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1057, allocations: 0.6385 MB / 360.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1057, allocations: 0 / 360.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.106, allocations: 39.97 kB / 360.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.106, allocations: 4 kB / 360.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.106, allocations: 7.984 kB / 360.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.106, allocations: 3.938 kB / 360.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.106, allocations: 3.938 kB / 360.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1071, allocations: 493.1 kB / 361.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1072, allocations: 88.92 kB / 361.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.1072, allocations: 8.062 kB / 361.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1074, allocations: 23.97 kB / 361.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1075, allocations: 15.98 kB / 361.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1075, allocations: 7.984 kB / 361.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1076, allocations: 147.2 kB / 361.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1076, allocations: 0 / 361.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.108, allocations: 107.8 kB / 361.5 MB, free: 8.656 MB / 302.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.001837/0.1099, allocations: 1.186 MB / 362.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007635/0.1106, allocations: 289 kB / 362.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1107, allocations: 0 / 362.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.111, allocations: 115.9 kB / 363 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1113, allocations: 23.98 kB / 363.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.1154, allocations: 2.811 MB / 365.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1157, allocations: 0.7401 MB / 366.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1158, allocations: 33.92 kB / 366.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.116, allocations: 71.41 kB / 366.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.116, allocations: 0 / 366.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/0.2728, allocations: 5.935 MB / 372.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.105, allocations: 3.406 kB / 372.7 MB, free: 25.48 MB / 302.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