Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001331/0.001331, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001477/0.001477, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3319, allocations: 53.42 MB / 431.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003965/0.3358, allocations: 1.805 MB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3379, allocations: 0.9815 MB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.338, allocations: 4 kB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3381, allocations: 19.73 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3384, allocations: 35.66 kB / 434.8 MB, free: 3.582 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006335/0.339, allocations: 187.5 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.3393, allocations: 231.4 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.3395, allocations: 52.53 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3396, allocations: 99.62 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.3403, allocations: 122.5 kB / 435.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.3403, allocations: 24 kB / 435.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.3406, allocations: 159.7 kB / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.3407, allocations: 59.75 kB / 435.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3408, allocations: 83.58 kB / 435.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.3413, allocations: 297.1 kB / 436.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3413, allocations: 4 kB / 436.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3413, allocations: 4 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3413, allocations: 0 / 436.1 MB, free: 2.285 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.001289/0.3426, allocations: 498.1 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3427, allocations: 12.03 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.945e-05/0.3427, allocations: 8.188 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.944e-05/0.3428, allocations: 58.69 kB / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.343, allocations: 36.78 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.3433, allocations: 182.2 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.3433, allocations: 20.38 kB / 436.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.3434, allocations: 16.38 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.3439, allocations: 213.2 kB / 437.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.344, allocations: 0 / 437.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.344, allocations: 15.92 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.344, allocations: 8 kB / 437.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.3445, allocations: 160.5 kB / 437.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3458, allocations: 0.5224 MB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3469, allocations: 313.5 kB / 438.1 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3472, allocations: 116.8 kB / 438.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3473, allocations: 7.953 kB / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.3478, allocations: 179.4 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.3478, allocations: 0 / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003476/0.3513, allocations: 1.047 MB / 439.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.3513, allocations: 59.39 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3516, allocations: 226.9 kB / 439.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.3517, allocations: 41.7 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3518, allocations: 133 kB / 439.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3519, allocations: 111.1 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.352, allocations: 78.11 kB / 440.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3522, allocations: 338.8 kB / 440.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.3526, allocations: 164.8 kB / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.3533, allocations: 202.4 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009135/0.3542, allocations: 337.5 kB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3542, allocations: 0 / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001156/0.3553, allocations: 463.7 kB / 441.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3554, allocations: 4 kB / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3554, allocations: 4 kB / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3554, allocations: 0 / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.3558, allocations: 91.86 kB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3558, allocations: 8.031 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3561, allocations: 35.95 kB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3561, allocations: 12 kB / 441.7 MB, free: 12.41 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 (48): * Single equations (assignments): 47 * 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.0002073/0.3563, allocations: 154.5 kB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.3564, allocations: 31.75 kB / 441.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.3564, allocations: 22.66 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3564, allocations: 4 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3564, allocations: 0 / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3565, allocations: 7.984 kB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3582, allocations: 0.7136 MB / 442.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3582, allocations: 3.938 kB / 442.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.3585, allocations: 75.81 kB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3585, allocations: 4 kB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.3586, allocations: 11.98 kB / 442.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3586, allocations: 0 / 442.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3586, allocations: 7.969 kB / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.36, allocations: 0.6034 MB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.36, allocations: 23.92 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.3601, allocations: 8 kB / 443.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3603, allocations: 27.95 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.3604, allocations: 23.91 kB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3604, allocations: 11.98 kB / 443.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3606, allocations: 156.4 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3606, allocations: 4 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.361, allocations: 75.92 kB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 25 * 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.002196/0.3632, allocations: 1.234 MB / 444.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.3643, allocations: 346.5 kB / 445.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3643, allocations: 0 / 445.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.3647, allocations: 155.7 kB / 445.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3651, allocations: 23.94 kB / 445.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.3708, allocations: 3.137 MB / 448.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.371, allocations: 146.2 kB / 448.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.3711, allocations: 42.25 kB / 448.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.3713, allocations: 79.41 kB / 448.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3713, allocations: 0 / 448.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4025, allocations: 6.483 MB / 455.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 11.03 kB / 455.3 MB, free: 14.76 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.151472621946596] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanError_y', 'sigmaError_y', 'mean.y', 'variance.mu', 'variance.var', 'standardDeviation.variance.mu', 'standardDeviation.variance.var'] 11.685579254059121 11.70191176 11.357132396 Calling exit ...