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.001178/0.001178, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001235/0.001235, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.338/1.338, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 50.33 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08922, allocations: 49.45 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003643/0.0929, allocations: 1.837 MB / 352 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.09478, allocations: 0.9781 MB / 353 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.09493, allocations: 0 / 353 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.09507, allocations: 15.75 kB / 353 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.09529, allocations: 35.7 kB / 353 MB, free: 1.438 MB / 286.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.0006626/0.09597, allocations: 179.5 kB / 353.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.09624, allocations: 219.5 kB / 353.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.09646, allocations: 76.11 kB / 353.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.09663, allocations: 99.61 kB / 353.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.09728, allocations: 125.2 kB / 353.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.09737, allocations: 24 kB / 353.7 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.09764, allocations: 123.8 kB / 353.9 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.09775, allocations: 59.75 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.09786, allocations: 95.47 kB / 354 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.0983, allocations: 287.4 kB / 354.3 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.09832, allocations: 0 / 354.3 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09833, allocations: 3.938 kB / 354.3 MB, free: 180 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.09834, allocations: 0 / 354.3 MB, free: 180 kB / 286.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.001155/0.0995, allocations: 0.5545 MB / 354.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.09955, allocations: 8.031 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.09964, allocations: 50.73 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.09987, allocations: 36.64 kB / 354.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1002, allocations: 245.3 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1002, allocations: 16 kB / 355.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1003, allocations: 31.84 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.1008, allocations: 206.3 kB / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1008, allocations: 0 / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1008, allocations: 4 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1008, allocations: 4 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.1013, allocations: 152.2 kB / 355.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1023, allocations: 0.5824 MB / 356.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1033, allocations: 299.6 kB / 356.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1036, allocations: 124.7 kB / 356.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1037, allocations: 8.062 kB / 356.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.1041, allocations: 162.1 kB / 356.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.1041, allocations: 4 kB / 356.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001001/0.1051, allocations: 349.1 kB / 357.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1052, allocations: 63.41 kB / 357.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1054, allocations: 207.8 kB / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.1054, allocations: 45.69 kB / 357.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.1055, allocations: 124.5 kB / 357.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1056, allocations: 78.89 kB / 357.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1057, allocations: 65.69 kB / 357.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1058, allocations: 338.8 kB / 358 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.1062, allocations: 135.8 kB / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1066, allocations: 157.6 kB / 358.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.1072, allocations: 268.2 kB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1072, allocations: 4 kB / 358.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008458/0.1081, allocations: 376.9 kB / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1081, allocations: 7.938 kB / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1081, allocations: 0 / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1081, allocations: 7.984 kB / 358.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.1085, allocations: 63.89 kB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1085, allocations: 3.938 kB / 359 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1087, allocations: 47.69 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.1087, allocations: 12 kB / 359.1 MB, free: 11.16 MB / 302.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.0001551/0.1089, allocations: 141.8 kB / 359.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1089, allocations: 15.81 kB / 359.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.109, allocations: 29.86 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.109, allocations: 4 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.109, allocations: 3.938 kB / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.109, allocations: 0 / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1102, allocations: 0.6346 MB / 359.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1102, allocations: 4 kB / 359.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1104, allocations: 39.97 kB / 359.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1105, allocations: 0 / 359.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1105, allocations: 7.984 kB / 359.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1105, allocations: 3.938 kB / 359.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1105, allocations: 3.938 kB / 359.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.1115, allocations: 493.1 kB / 360.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1116, allocations: 96.97 kB / 360.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1116, allocations: 4 kB / 360.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1118, allocations: 23.97 kB / 360.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1119, allocations: 7.984 kB / 360.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1119, allocations: 12 kB / 360.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.112, allocations: 147.2 kB / 360.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.112, allocations: 0 / 360.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1124, allocations: 71.83 kB / 360.8 MB, free: 9.34 MB / 302.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.001597/0.114, allocations: 1.119 MB / 361.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.1148, allocations: 289 kB / 362.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1148, allocations: 4.062 kB / 362.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1151, allocations: 114.2 kB / 362.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1155, allocations: 39.86 kB / 362.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.1195, allocations: 2.804 MB / 365.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1198, allocations: 0.7401 MB / 365.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.12, allocations: 33.94 kB / 365.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1201, allocations: 67.41 kB / 366 MB, free: 4.039 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1201, allocations: 0 / 366 MB, free: 4.039 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/0.2773, allocations: 5.221 MB / 371.2 MB, free: 25.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.73, allocations: 6.609 kB / 371.2 MB, free: 25.79 MB / 302.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