Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001907/0.001907, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.308/1.308, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001833/0.001833, allocations: 68.03 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.233, allocations: 53.32 MB / 429.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003036/0.236, allocations: 1.886 MB / 431.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2378, allocations: 1.044 MB / 432.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.2379, allocations: 3.938 kB / 432.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.238, allocations: 23.73 kB / 432.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.2382, allocations: 31.72 kB / 432.4 MB, free: 4.57 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.0005584/0.2388, allocations: 187.5 kB / 432.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.239, allocations: 215.4 kB / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2392, allocations: 56.25 kB / 432.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2393, allocations: 99.61 kB / 432.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.2399, allocations: 122.5 kB / 433.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.2399, allocations: 28 kB / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.2402, allocations: 123.8 kB / 433.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.2403, allocations: 59.81 kB / 433.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2404, allocations: 103.4 kB / 433.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.2408, allocations: 291.3 kB / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2408, allocations: 0 / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2408, allocations: 0 / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2408, allocations: 0 / 433.7 MB, free: 3.32 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.001127/0.2419, allocations: 0.5696 MB / 434.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2419, allocations: 8.031 kB / 434.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/0.242, allocations: 58.67 kB / 434.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.2422, allocations: 36.78 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.2425, allocations: 240.9 kB / 434.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2425, allocations: 20.38 kB / 434.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.2426, allocations: 19.94 kB / 434.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.2431, allocations: 207 kB / 434.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2431, allocations: 7.922 kB / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2431, allocations: 8 kB / 434.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2431, allocations: 4 kB / 434.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.2436, allocations: 160 kB / 435 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2446, allocations: 0.5826 MB / 435.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2457, allocations: 298.7 kB / 435.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.246, allocations: 107.4 kB / 436 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.246, allocations: 0 / 436 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.2464, allocations: 167.3 kB / 436.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.2464, allocations: 0 / 436.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001007/0.2474, allocations: 361.1 kB / 436.5 MB, free: 324 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2474, allocations: 55.41 kB / 436.5 MB, free: 256 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2477, allocations: 230.7 kB / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.2477, allocations: 37.7 kB / 436.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.2478, allocations: 136.6 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.2479, allocations: 79.38 kB / 437 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.248, allocations: 65.69 kB / 437.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2481, allocations: 338.8 kB / 437.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.2485, allocations: 127.9 kB / 437.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.2488, allocations: 161.6 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.2495, allocations: 271.3 kB / 437.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2495, allocations: 0 / 437.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008104/0.2503, allocations: 378 kB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2503, allocations: 4 kB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2503, allocations: 4.031 kB / 438.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2503, allocations: 7.938 kB / 438.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2506, allocations: 67.89 kB / 438.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2506, allocations: 4 kB / 438.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2508, allocations: 35.81 kB / 438.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2508, allocations: 15.98 kB / 438.5 MB, free: 14.27 MB / 350.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.0001484/0.251, allocations: 145.7 kB / 438.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.251, allocations: 19.86 kB / 438.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.2511, allocations: 25.86 kB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2511, allocations: 0 / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2511, allocations: 4 kB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2511, allocations: 0 / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2521, allocations: 0.6331 MB / 439.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2521, allocations: 0 / 439.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.2524, allocations: 43.95 kB / 439.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2524, allocations: 4 kB / 439.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.2524, allocations: 4 kB / 439.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2524, allocations: 3.938 kB / 439.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2524, allocations: 4 kB / 439.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2534, allocations: 475.1 kB / 439.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.2535, allocations: 112.9 kB / 439.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2535, allocations: 4 kB / 439.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2537, allocations: 23.97 kB / 439.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2538, allocations: 11.97 kB / 439.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2538, allocations: 12 kB / 440 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2539, allocations: 156.7 kB / 440.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 4 kB / 440.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.2543, allocations: 59.94 kB / 440.2 MB, free: 12.45 MB / 350.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.001685/0.256, allocations: 1.119 MB / 441.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.2567, allocations: 267.6 kB / 441.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2567, allocations: 3.938 kB / 441.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.257, allocations: 99.91 kB / 441.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2573, allocations: 27.95 kB / 441.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.2614, allocations: 2.818 MB / 444.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2617, allocations: 0.7436 MB / 445.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.2618, allocations: 25.95 kB / 445.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.262, allocations: 67.41 kB / 445.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.262, allocations: 0 / 445.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.2929, allocations: 5.313 MB / 450.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.759, allocations: 7.25 kB / 450.7 MB, free: 1.961 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.890042951003124]