Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001688/0.001688, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001404/0.001404, allocations: 181.8 kB / 23.72 MB, free: 4.699 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.544/1.544, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2654, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003725/0.2691, allocations: 1.867 MB / 424.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2715, allocations: 1.002 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2716, allocations: 4 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2717, allocations: 19.73 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.2719, allocations: 35.66 kB / 425.6 MB, free: 11.66 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.0006615/0.2726, allocations: 179.5 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.2729, allocations: 231.4 kB / 426 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2731, allocations: 44.58 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2732, allocations: 103.7 kB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.2739, allocations: 126.9 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.274, allocations: 24 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.2743, allocations: 159.8 kB / 426.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.2744, allocations: 63.75 kB / 426.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2745, allocations: 99.45 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.275, allocations: 291.3 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2751, allocations: 0 / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2751, allocations: 0 / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2751, allocations: 4 kB / 426.9 MB, free: 10.36 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.001237/0.2763, allocations: 498.1 kB / 427.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2764, allocations: 12.03 kB / 427.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.2765, allocations: 50.73 kB / 427.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.2767, allocations: 40.78 kB / 427.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.277, allocations: 191.4 kB / 427.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.277, allocations: 15.94 kB / 427.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2771, allocations: 23.95 kB / 427.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.2776, allocations: 199.3 kB / 427.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2776, allocations: 0 / 427.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.2776, allocations: 12 kB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2776, allocations: 4 kB / 427.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.2781, allocations: 148.2 kB / 428 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.2791, allocations: 0.5582 MB / 428.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2801, allocations: 290.7 kB / 428.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.2804, allocations: 123 kB / 429 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2804, allocations: 0 / 429 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.2809, allocations: 166.2 kB / 429.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.2809, allocations: 0 / 429.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001063/0.2819, allocations: 365.2 kB / 429.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.282, allocations: 59.34 kB / 429.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.2822, allocations: 215.7 kB / 429.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.2823, allocations: 41.69 kB / 429.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2824, allocations: 128.6 kB / 429.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.2825, allocations: 79.48 kB / 430 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2826, allocations: 65.64 kB / 430.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2828, allocations: 338.8 kB / 430.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.2831, allocations: 131.9 kB / 430.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2835, allocations: 157.4 kB / 430.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.2841, allocations: 272.5 kB / 431 MB, free: 6.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2841, allocations: 0 / 431 MB, free: 6.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008197/0.2849, allocations: 377.2 kB / 431.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.285, allocations: 11.98 kB / 431.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.285, allocations: 0 / 431.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.285, allocations: 0 / 431.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.2853, allocations: 63.89 kB / 431.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.2853, allocations: 7.938 kB / 431.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2855, allocations: 47.75 kB / 431.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.2855, allocations: 12 kB / 431.5 MB, free: 5.543 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.0001682/0.2857, allocations: 145.6 kB / 431.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2858, allocations: 19.86 kB / 431.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.2858, allocations: 21.97 kB / 431.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2858, allocations: 4 kB / 431.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2858, allocations: 3.938 kB / 431.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2859, allocations: 7.984 kB / 431.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.2871, allocations: 0.5964 MB / 432.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2871, allocations: 4 kB / 432.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2873, allocations: 43.95 kB / 432.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2873, allocations: 0 / 432.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.2874, allocations: 4 kB / 432.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2874, allocations: 11.92 kB / 432.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.2874, allocations: 3.938 kB / 432.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2884, allocations: 487 kB / 432.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.2885, allocations: 23.8 kB / 432.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.2885, allocations: 8.062 kB / 432.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2887, allocations: 19.97 kB / 432.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.2888, allocations: 19.97 kB / 432.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.2888, allocations: 4.125 kB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2889, allocations: 151.2 kB / 433 MB, free: 3.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2889, allocations: 4 kB / 433 MB, free: 3.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.2893, allocations: 63.88 kB / 433.1 MB, free: 3.844 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.001732/0.2911, allocations: 1.12 MB / 434.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000749/0.2918, allocations: 268.3 kB / 434.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2918, allocations: 0 / 434.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.2921, allocations: 115.9 kB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.2925, allocations: 23.92 kB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.2968, allocations: 2.799 MB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.2972, allocations: 0.7437 MB / 438.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2973, allocations: 29.94 kB / 438.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2975, allocations: 67.41 kB / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 1.713e-06/0.2975, allocations: 0 / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.3348, allocations: 5.585 MB / 443.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.56, allocations: 15.48 kB / 443.9 MB, free: 9.121 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_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_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.211031256996648]