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.001654/0.001655, allocations: 117.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.001914/0.001914, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.267, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002906/0.27, allocations: 1.866 MB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2722, allocations: 1.305 MB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.2723, allocations: 4 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2724, allocations: 19.73 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2726, allocations: 27.73 kB / 412 MB, free: 14.29 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.0008142/0.2734, allocations: 315.1 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2737, allocations: 219.4 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2738, allocations: 72.25 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2739, allocations: 95.62 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.2745, allocations: 115.5 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.2745, allocations: 24 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.275, allocations: 279.5 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.2751, allocations: 59.81 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2752, allocations: 95.47 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.2757, allocations: 393.7 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2757, allocations: 7.938 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2757, allocations: 0 / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2758, allocations: 0 / 413.6 MB, free: 12.65 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.001076/0.2768, allocations: 0.5734 MB / 414.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2769, allocations: 12.03 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.277, allocations: 58.67 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.2772, allocations: 40.73 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2775, allocations: 240.9 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.2775, allocations: 20.38 kB / 414.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2776, allocations: 27.92 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.278, allocations: 202.3 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.2781, allocations: 0 / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2781, allocations: 12 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2781, allocations: 4 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.2786, allocations: 164 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2797, allocations: 0.5788 MB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2808, allocations: 306.7 kB / 415.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.2811, allocations: 115.5 kB / 416 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2811, allocations: 0 / 416 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.2815, allocations: 166.8 kB / 416.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.2815, allocations: 0 / 416.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001071/0.2826, allocations: 365.1 kB / 416.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.2827, allocations: 63.39 kB / 416.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2829, allocations: 222.7 kB / 416.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.2829, allocations: 41.69 kB / 416.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.283, allocations: 132.6 kB / 416.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.2831, allocations: 71.39 kB / 417 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2832, allocations: 65.69 kB / 417.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2833, allocations: 342.7 kB / 417.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.2837, allocations: 135.9 kB / 417.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2841, allocations: 161.6 kB / 417.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.2847, allocations: 267.2 kB / 417.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2847, allocations: 0 / 417.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008432/0.2856, allocations: 382 kB / 418.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.2856, allocations: 8 kB / 418.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2856, allocations: 3.938 kB / 418.3 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2857, allocations: 0 / 418.3 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.286, allocations: 67.94 kB / 418.4 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.286, allocations: 3.938 kB / 418.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2862, allocations: 39.83 kB / 418.4 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2862, allocations: 15.98 kB / 418.5 MB, free: 7.574 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.0001622/0.2864, allocations: 137.7 kB / 418.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2865, allocations: 23.86 kB / 418.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.2865, allocations: 25.86 kB / 418.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2865, allocations: 0 / 418.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2866, allocations: 4 kB / 418.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2866, allocations: 0 / 418.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2877, allocations: 0.6191 MB / 419.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2877, allocations: 8 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.2879, allocations: 47.89 kB / 419.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.288, allocations: 0 / 419.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.288, allocations: 7.984 kB / 419.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.288, allocations: 0 / 419.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.288, allocations: 0 / 419.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.289, allocations: 493.2 kB / 419.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2891, allocations: 104.9 kB / 419.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.2891, allocations: 11.92 kB / 419.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2893, allocations: 23.98 kB / 419.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.2894, allocations: 15.97 kB / 420 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2894, allocations: 8 kB / 420 MB, free: 5.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2896, allocations: 160.7 kB / 420.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2896, allocations: 0 / 420.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.29, allocations: 95.8 kB / 420.2 MB, free: 5.715 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.001842/0.2919, allocations: 1.183 MB / 421.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007663/0.2926, allocations: 286.3 kB / 421.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2927, allocations: 0 / 421.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.293, allocations: 115.9 kB / 421.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.2933, allocations: 27.94 kB / 421.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.2974, allocations: 2.81 MB / 424.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2977, allocations: 0.7475 MB / 425.4 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2978, allocations: 29.94 kB / 425.4 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2979, allocations: 67.41 kB / 425.5 MB, free: 352 kB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2979, allocations: 4 kB / 425.5 MB, free: 348 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3226, allocations: 6.053 MB / 431.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.547, allocations: 6.188 kB / 431.5 MB, free: 10.39 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.0.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