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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.001254/0.001254, allocations: 195.9 kB / 18 MB, free: 4.965 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.91 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2684, allocations: 49.44 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002938/0.2714, allocations: 1.836 MB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2732, allocations: 0.982 MB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.2733, allocations: 0 / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2734, allocations: 19.73 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2736, allocations: 35.66 kB / 403.1 MB, free: 5.926 MB / 318.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.0005376/0.2741, allocations: 179.5 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.2744, allocations: 219.5 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2746, allocations: 68.27 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2747, allocations: 95.67 kB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.2753, allocations: 126.1 kB / 403.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.2753, allocations: 24 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2756, allocations: 119.8 kB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.2757, allocations: 63.81 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2758, allocations: 99.44 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.2762, allocations: 290 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2762, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2762, allocations: 3.938 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2762, allocations: 4 kB / 404.4 MB, free: 4.66 MB / 318.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.001079/0.2773, allocations: 0.5618 MB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2774, allocations: 8.031 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.024e-05/0.2775, allocations: 58.72 kB / 405 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.2777, allocations: 36.8 kB / 405 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2779, allocations: 245.2 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.278, allocations: 19.94 kB / 405.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.278, allocations: 23.98 kB / 405.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.2785, allocations: 202.2 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2785, allocations: 0 / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2785, allocations: 8 kB / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2786, allocations: 7.984 kB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.279, allocations: 156.2 kB / 405.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.28, allocations: 0.5864 MB / 406.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2811, allocations: 302.7 kB / 406.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.2814, allocations: 116.7 kB / 406.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2814, allocations: 8 kB / 406.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.2818, allocations: 159.3 kB / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.2818, allocations: 0 / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009847/0.2828, allocations: 358.9 kB / 407.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2829, allocations: 63.33 kB / 407.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.2831, allocations: 211.8 kB / 407.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.2831, allocations: 41.7 kB / 407.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.2832, allocations: 136.6 kB / 407.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.2833, allocations: 75.38 kB / 407.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2834, allocations: 65.69 kB / 407.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2836, allocations: 334.8 kB / 408.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2839, allocations: 131.9 kB / 408.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.2843, allocations: 166 kB / 408.4 MB, free: 412 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.2849, allocations: 260.6 kB / 408.7 MB, free: 148 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2849, allocations: 0 / 408.7 MB, free: 148 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008296/0.2858, allocations: 377.3 kB / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2858, allocations: 4 kB / 409 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2858, allocations: 0 / 409 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2858, allocations: 4 kB / 409 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.2861, allocations: 71.81 kB / 409.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2861, allocations: 3.938 kB / 409.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.2863, allocations: 43.83 kB / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2864, allocations: 19.91 kB / 409.2 MB, free: 15.62 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.0001496/0.2865, allocations: 137.8 kB / 409.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.2866, allocations: 23.86 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.2866, allocations: 17.86 kB / 409.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2866, allocations: 4 kB / 409.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2866, allocations: 7.938 kB / 409.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2866, allocations: 0 / 409.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.2878, allocations: 0.6365 MB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2878, allocations: 4 kB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2881, allocations: 43.95 kB / 410 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2881, allocations: 4 kB / 410 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.2881, allocations: 8 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2881, allocations: 3.938 kB / 410.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2881, allocations: 3.938 kB / 410.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2892, allocations: 495.5 kB / 410.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.2893, allocations: 96.91 kB / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.2893, allocations: 12.06 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2895, allocations: 19.97 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2895, allocations: 11.98 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2896, allocations: 7.984 kB / 410.7 MB, free: 14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2897, allocations: 151.2 kB / 410.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2897, allocations: 0 / 410.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.2901, allocations: 59.94 kB / 410.9 MB, free: 13.79 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.001687/0.2918, allocations: 1.128 MB / 412 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.2925, allocations: 280.9 kB / 412.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2925, allocations: 0 / 412.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.2928, allocations: 119.9 kB / 412.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2932, allocations: 23.28 kB / 412.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.2973, allocations: 2.805 MB / 415.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2976, allocations: 0.7398 MB / 416 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2977, allocations: 33.92 kB / 416 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2979, allocations: 67.41 kB / 416.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2979, allocations: 0 / 416.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3254, allocations: 5.316 MB / 421.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/8.945, allocations: 15.12 kB / 421.4 MB, free: 3.281 MB / 334.1 MB (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) 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) Reference file matches