Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_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.001692/0.001692, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.584/1.584, allocations: 227.7 MB / 247.2 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 64.09 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2791, allocations: 50.55 MB / 409.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003318/0.2825, allocations: 1.877 MB / 410.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.2849, allocations: 1.298 MB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.285, allocations: 8 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2852, allocations: 23.73 kB / 412.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2853, allocations: 23.67 kB / 412.3 MB, free: 14.16 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0009026/0.2862, allocations: 315.1 kB / 412.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.2865, allocations: 215.5 kB / 412.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2867, allocations: 64.25 kB / 412.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2868, allocations: 99.61 kB / 413 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.2874, allocations: 118.8 kB / 413.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.2874, allocations: 23.94 kB / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.2879, allocations: 279.6 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.288, allocations: 59.81 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2881, allocations: 103.4 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.2887, allocations: 393.7 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2888, allocations: 0 / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2888, allocations: 0 / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2888, allocations: 0 / 413.9 MB, free: 12.52 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.001151/0.2899, allocations: 0.5812 MB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.29, allocations: 8.031 kB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.675e-05/0.2901, allocations: 62.62 kB / 414.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.2903, allocations: 32.78 kB / 414.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2906, allocations: 244.9 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2906, allocations: 12.38 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.2907, allocations: 27.94 kB / 414.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.2912, allocations: 210.2 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2912, allocations: 0 / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.2913, allocations: 4 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2913, allocations: 4 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.2918, allocations: 160.1 kB / 415.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.293, allocations: 0.5904 MB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2941, allocations: 302.7 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2945, allocations: 104.8 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2945, allocations: 4 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.295, allocations: 171.2 kB / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.003e-06/0.295, allocations: 0 / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001191/0.2962, allocations: 356.2 kB / 416.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.2963, allocations: 63.39 kB / 416.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2965, allocations: 226.7 kB / 417 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.2966, allocations: 37.7 kB / 417.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2967, allocations: 128.6 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.2968, allocations: 71.39 kB / 417.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2969, allocations: 77.61 kB / 417.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2971, allocations: 334.8 kB / 417.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.2975, allocations: 135.9 kB / 417.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.2979, allocations: 165.5 kB / 418 MB, free: 8.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.2987, allocations: 263.3 kB / 418.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2987, allocations: 0 / 418.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009026/0.2996, allocations: 386 kB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2996, allocations: 7.281 kB / 418.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2996, allocations: 4 kB / 418.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2997, allocations: 4 kB / 418.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.3, allocations: 71.91 kB / 418.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3, allocations: 4 kB / 418.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3002, allocations: 39.81 kB / 418.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3003, allocations: 8 kB / 418.7 MB, free: 7.449 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.0001671/0.3004, allocations: 149.7 kB / 418.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3005, allocations: 19.86 kB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.3006, allocations: 21.88 kB / 418.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3006, allocations: 4 kB / 418.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3006, allocations: 0 / 418.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3006, allocations: 3.984 kB / 418.9 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3018, allocations: 0.6268 MB / 419.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3018, allocations: 0 / 419.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.3021, allocations: 39.95 kB / 419.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3021, allocations: 4 kB / 419.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3022, allocations: 7.984 kB / 419.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3022, allocations: 0 / 419.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3022, allocations: 4 kB / 419.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3033, allocations: 479 kB / 420.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.3034, allocations: 120.8 kB / 420.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3035, allocations: 4 kB / 420.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3037, allocations: 23.97 kB / 420.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3037, allocations: 7.984 kB / 420.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3038, allocations: 8 kB / 420.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3039, allocations: 156.7 kB / 420.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3039, allocations: 4 kB / 420.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000508/0.3044, allocations: 103.8 kB / 420.5 MB, free: 5.582 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.002028/0.3065, allocations: 1.178 MB / 421.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000839/0.3073, allocations: 291.6 kB / 422 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3074, allocations: 0 / 422 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.3077, allocations: 107.9 kB / 422.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.308, allocations: 26.91 kB / 422.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.3127, allocations: 2.822 MB / 424.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.3132, allocations: 0.7436 MB / 425.7 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.3134, allocations: 29.94 kB / 425.7 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3135, allocations: 71.41 kB / 425.8 MB, free: 220 kB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.3135, allocations: 0 / 425.8 MB, free: 220 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3434, allocations: 6.061 MB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.882/9.226, allocations: 4.062 kB / 431.8 MB, free: 10.28 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)