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.001182/0.001182, allocations: 112 kB / 17.06 MB, free: 5.992 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.001261/0.001261, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2845, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003495/0.2881, allocations: 1.848 MB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.29, allocations: 0.9742 MB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2902, allocations: 4 kB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.2904, allocations: 23.73 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.2906, allocations: 27.73 kB / 403.1 MB, free: 5.934 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.000684/0.2913, allocations: 183.5 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2916, allocations: 219.5 kB / 403.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2918, allocations: 62.28 kB / 403.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.292, allocations: 99.61 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.2926, allocations: 122.7 kB / 403.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.2927, allocations: 27.98 kB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.2929, allocations: 127.8 kB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.293, allocations: 63.7 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2931, allocations: 99.45 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.2936, allocations: 294 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2937, allocations: 4 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2937, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.2937, allocations: 0 / 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.00121/0.2949, allocations: 0.5618 MB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2949, allocations: 12.03 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.2951, allocations: 50.73 kB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.2953, allocations: 36.78 kB / 405.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2956, allocations: 245 kB / 405.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2956, allocations: 16 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.2957, allocations: 23.95 kB / 405.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.2962, allocations: 214.2 kB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2962, allocations: 0 / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.2963, allocations: 4 kB / 405.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2963, allocations: 4 kB / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.2967, allocations: 156.1 kB / 405.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.2978, allocations: 0.5787 MB / 406.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2988, allocations: 306.6 kB / 406.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.2992, allocations: 116.8 kB / 406.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2992, allocations: 4 kB / 406.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.2996, allocations: 167.2 kB / 406.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.2996, allocations: 4 kB / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001002/0.3006, allocations: 359 kB / 407.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3007, allocations: 67.47 kB / 407.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.3009, allocations: 207.8 kB / 407.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.301, allocations: 41.69 kB / 407.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3011, allocations: 132.6 kB / 407.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.3011, allocations: 75.38 kB / 407.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3012, allocations: 65.69 kB / 407.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3014, allocations: 334.8 kB / 408.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.3017, allocations: 131.9 kB / 408.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3021, allocations: 158 kB / 408.4 MB, free: 428 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.3027, allocations: 272.5 kB / 408.7 MB, free: 152 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3027, allocations: 0 / 408.7 MB, free: 152 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008592/0.3036, allocations: 381.1 kB / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3036, allocations: 7.984 kB / 409.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3036, allocations: 0 / 409.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3037, allocations: 4 kB / 409.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.304, allocations: 71.83 kB / 409.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.304, allocations: 4.031 kB / 409.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3042, allocations: 43.75 kB / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.3042, allocations: 12 kB / 409.2 MB, free: 15.63 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.0001497/0.3044, allocations: 137.8 kB / 409.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3044, allocations: 19.86 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.3045, allocations: 21.88 kB / 409.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3045, allocations: 11.94 kB / 409.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3045, allocations: 3.984 kB / 409.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3045, allocations: 0 / 409.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3057, allocations: 0.627 MB / 410 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3057, allocations: 0 / 410 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.306, allocations: 47.95 kB / 410.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.306, allocations: 4 kB / 410.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.306, allocations: 7.984 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.306, allocations: 3.938 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.306, allocations: 0 / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.307, allocations: 499 kB / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.3071, allocations: 101 kB / 410.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.3072, allocations: 7.984 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3073, allocations: 19.98 kB / 410.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.3074, allocations: 11.97 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3074, allocations: 8 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3076, allocations: 151.2 kB / 410.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 0 / 410.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000361/0.308, allocations: 63.92 kB / 410.9 MB, free: 13.8 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.001625/0.3096, allocations: 1.129 MB / 412 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.3104, allocations: 273 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3104, allocations: 4 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.3107, allocations: 115.9 kB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3111, allocations: 28.17 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.004189/0.3153, allocations: 2.801 MB / 415.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3157, allocations: 0.7398 MB / 416 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.3158, allocations: 29.94 kB / 416 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3159, allocations: 71.39 kB / 416.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.316, allocations: 3.938 kB / 416.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.342, allocations: 5.323 MB / 421.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.757, allocations: 15.84 kB / 421.4 MB, free: 3.277 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