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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 186.9 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.7 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 47.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2857, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003624/0.2893, allocations: 1.859 MB / 424.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2919, allocations: 1.278 MB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2921, allocations: 4 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2922, allocations: 19.73 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2923, allocations: 35.67 kB / 425.8 MB, free: 11.38 MB / 334.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.00103/0.2933, allocations: 327.1 kB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.2936, allocations: 219.5 kB / 426.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2938, allocations: 44.58 kB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.2939, allocations: 99.61 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.2945, allocations: 134.3 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.2946, allocations: 20 kB / 426.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.2952, allocations: 327.4 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.2953, allocations: 55.77 kB / 427 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2954, allocations: 99.45 kB / 427.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.296, allocations: 394.9 kB / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.296, allocations: 4 kB / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.296, allocations: 0 / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.296, allocations: 0 / 427.5 MB, free: 9.695 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.001302/0.2973, allocations: 0.502 MB / 428 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.2974, allocations: 8.031 kB / 428 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2975, allocations: 50.73 kB / 428.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.2978, allocations: 40.72 kB / 428.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2981, allocations: 191.3 kB / 428.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.2981, allocations: 12 kB / 428.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.2982, allocations: 27.95 kB / 428.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.2987, allocations: 211.2 kB / 428.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2987, allocations: 0 / 428.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.2987, allocations: 4 kB / 428.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2988, allocations: 4 kB / 428.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.2992, allocations: 152.2 kB / 428.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3003, allocations: 0.5349 MB / 429.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.3014, allocations: 310.7 kB / 429.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3017, allocations: 108.8 kB / 429.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3017, allocations: 12 kB / 429.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.3021, allocations: 159.3 kB / 429.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.3021, allocations: 0 / 429.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001022/0.3031, allocations: 366.7 kB / 430.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3032, allocations: 55.41 kB / 430.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3034, allocations: 215.7 kB / 430.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.3035, allocations: 45.62 kB / 430.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3036, allocations: 132.6 kB / 430.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.3037, allocations: 75.41 kB / 430.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3038, allocations: 69.64 kB / 430.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.304, allocations: 338.8 kB / 431.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.3043, allocations: 127.9 kB / 431.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3047, allocations: 161.4 kB / 431.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.3054, allocations: 272.5 kB / 431.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3054, allocations: 0 / 431.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008146/0.3062, allocations: 373.2 kB / 432 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3062, allocations: 8 kB / 432 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3062, allocations: 0 / 432 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3062, allocations: 0 / 432 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.3066, allocations: 71.92 kB / 432.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3066, allocations: 7.938 kB / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3067, allocations: 39.81 kB / 432.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3068, allocations: 11.98 kB / 432.1 MB, free: 4.867 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.0001674/0.3069, allocations: 145.6 kB / 432.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.307, allocations: 23.86 kB / 432.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.307, allocations: 29.89 kB / 432.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3071, allocations: 4 kB / 432.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3071, allocations: 3.938 kB / 432.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3071, allocations: 0 / 432.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.3083, allocations: 0.6045 MB / 432.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3083, allocations: 0 / 432.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3085, allocations: 43.95 kB / 433 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3085, allocations: 4 kB / 433 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3085, allocations: 0 / 433 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3085, allocations: 8 kB / 433 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3086, allocations: 7.875 kB / 433 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3096, allocations: 487.5 kB / 433.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3096, allocations: 19.8 kB / 433.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.3097, allocations: 12.06 kB / 433.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.3098, allocations: 19.97 kB / 433.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3099, allocations: 15.97 kB / 433.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3099, allocations: 7.938 kB / 433.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3101, allocations: 155.2 kB / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3101, allocations: 0 / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.3106, allocations: 99.8 kB / 433.8 MB, free: 3.129 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.001918/0.3125, allocations: 1.177 MB / 435 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007372/0.3132, allocations: 264.4 kB / 435.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3132, allocations: 0 / 435.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.3135, allocations: 111 kB / 435.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3138, allocations: 24.05 kB / 435.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.3182, allocations: 2.819 MB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3186, allocations: 0.7359 MB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.3187, allocations: 33.94 kB / 439 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3189, allocations: 67.41 kB / 439 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3189, allocations: 0 / 439 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.3586, allocations: 6.315 MB / 445.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.91, allocations: 3.281 kB / 445.3 MB, free: 7.625 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable mean.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.529159762001655]