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.001898/0.001898, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002153/0.002153, allocations: 193.6 kB / 23.71 MB, free: 4.406 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.484/1.484, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001707/0.001707, allocations: 43.94 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2756, allocations: 52.19 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003774/0.2794, allocations: 1.781 MB / 424.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.282, allocations: 1.193 MB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2821, allocations: 4 kB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2823, allocations: 15.75 kB / 425.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2824, allocations: 31.67 kB / 425.6 MB, free: 11.34 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.001084/0.2835, allocations: 327.1 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.2838, allocations: 219.5 kB / 426.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.284, allocations: 44.38 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2841, allocations: 99.61 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.2847, allocations: 111.5 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.2848, allocations: 24 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.2854, allocations: 315.4 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.2855, allocations: 51.83 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2856, allocations: 87.52 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.2863, allocations: 396.4 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2863, allocations: 0 / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2863, allocations: 0 / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.2863, allocations: 0 / 427.2 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.001195/0.2875, allocations: 0.502 MB / 427.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2875, allocations: 11.97 kB / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.2876, allocations: 54.72 kB / 427.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.2878, allocations: 32.78 kB / 427.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2881, allocations: 191.4 kB / 428 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2882, allocations: 16 kB / 428 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.2882, allocations: 27.95 kB / 428.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.2888, allocations: 207.2 kB / 428.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2888, allocations: 0 / 428.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2888, allocations: 4 kB / 428.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2888, allocations: 4 kB / 428.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.2893, allocations: 152.2 kB / 428.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2904, allocations: 0.4999 MB / 428.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2914, allocations: 301.6 kB / 429.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.2917, allocations: 112.8 kB / 429.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2918, allocations: 0 / 429.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.2922, allocations: 167.2 kB / 429.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.2922, allocations: 0 / 429.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001065/0.2932, allocations: 362.9 kB / 429.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.2933, allocations: 59.41 kB / 429.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.2936, allocations: 215.7 kB / 430.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.2936, allocations: 41.7 kB / 430.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2937, allocations: 136.6 kB / 430.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.2938, allocations: 79.39 kB / 430.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2939, allocations: 61.69 kB / 430.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2941, allocations: 338.8 kB / 430.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.2944, allocations: 135.8 kB / 430.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.2948, allocations: 157.4 kB / 431.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.2954, allocations: 272.5 kB / 431.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2954, allocations: 0 / 431.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008471/0.2963, allocations: 373.2 kB / 431.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2963, allocations: 8 kB / 431.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2963, allocations: 0 / 431.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2963, allocations: 0 / 431.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.2967, allocations: 79.88 kB / 431.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2967, allocations: 7.969 kB / 431.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2969, allocations: 39.81 kB / 431.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2969, allocations: 12 kB / 431.8 MB, free: 4.906 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.0001795/0.2971, allocations: 141.6 kB / 432 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.2971, allocations: 19.86 kB / 432 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.2972, allocations: 21.97 kB / 432 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2972, allocations: 8 kB / 432 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2972, allocations: 3.938 kB / 432 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2972, allocations: 3.984 kB / 432 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.2984, allocations: 0.5807 MB / 432.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2984, allocations: 0 / 432.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2987, allocations: 43.95 kB / 432.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2987, allocations: 0 / 432.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.2987, allocations: 11.98 kB / 432.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2987, allocations: 0 / 432.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.2987, allocations: 7.875 kB / 432.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2998, allocations: 483.5 kB / 433.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2998, allocations: 27.78 kB / 433.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.2999, allocations: 8.062 kB / 433.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3, allocations: 27.91 kB / 433.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3001, allocations: 11.98 kB / 433.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3001, allocations: 7.984 kB / 433.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3003, allocations: 151.2 kB / 433.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3003, allocations: 0 / 433.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.3008, allocations: 99.8 kB / 433.5 MB, free: 3.195 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.001998/0.3027, allocations: 1.196 MB / 434.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007452/0.3035, allocations: 260.4 kB / 434.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3035, allocations: 0 / 434.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.3038, allocations: 107.9 kB / 435 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3041, allocations: 19.98 kB / 435 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.3086, allocations: 2.818 MB / 437.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3087, allocations: 137.2 kB / 438 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.3088, allocations: 29.94 kB / 438 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.309, allocations: 67.41 kB / 438.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.309, allocations: 0 / 438.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.3486, allocations: 6.767 MB / 444.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 8.062 kB / 444.9 MB, free: 7.855 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.407864517066628]