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.0008519/0.0008519, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001048/0.001048, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8701/0.8701, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 3.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.76e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002919/0.002947, allocations: 1.818 MB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004588, allocations: 0.9812 MB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004699, allocations: 3.938 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.004817, allocations: 19.73 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005021, allocations: 39.66 kB / 327.4 MB, free: 12.99 MB / 298.7 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.0006425/0.005663, allocations: 191.3 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005939, allocations: 223.4 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.0061, allocations: 56.33 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.006281, allocations: 131.7 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.006856, allocations: 102.6 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.006916, allocations: 23.94 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.007203, allocations: 159.6 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.007268, allocations: 63.8 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.007352, allocations: 59.83 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.007808, allocations: 327 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007812, allocations: 0 / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007813, allocations: 0 / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.007818, allocations: 0 / 328.7 MB, free: 11.68 MB / 298.7 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.0009924/0.00881, allocations: 498.2 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.008857, allocations: 15.98 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.797e-05/0.008945, allocations: 54.69 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.009128, allocations: 36.78 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.009377, allocations: 189.8 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.009409, allocations: 12.38 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.009451, allocations: 24.38 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.009852, allocations: 207.9 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.009863, allocations: 192 / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.009886, allocations: 8.125 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.009895, allocations: 4 kB / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.01039, allocations: 156.2 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.0113, allocations: 0.5075 MB / 330.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.0119, allocations: 294.8 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.01209, allocations: 108.8 kB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01211, allocations: 7.984 kB / 330.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.01238, allocations: 171 kB / 331 MB, free: 9.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.574e-06/0.01238, allocations: 3.984 kB / 331 MB, free: 9.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005804/0.01296, allocations: 361.2 kB / 331.3 MB, free: 8.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.013, allocations: 55.41 kB / 331.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.01316, allocations: 223 kB / 331.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01318, allocations: 45.62 kB / 331.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.01325, allocations: 132.6 kB / 331.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.01329, allocations: 79.38 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.01336, allocations: 65.69 kB / 331.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.01344, allocations: 334.8 kB / 332.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.01363, allocations: 135.6 kB / 332.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.01382, allocations: 158.2 kB / 332.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.01417, allocations: 271.3 kB / 332.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01417, allocations: 0 / 332.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004466/0.01462, allocations: 382.4 kB / 333.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01463, allocations: 4 kB / 333.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01464, allocations: 4 kB / 333.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01465, allocations: 0 / 333.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01481, allocations: 71.88 kB / 333.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.01482, allocations: 8.031 kB / 333.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.01491, allocations: 39.81 kB / 333.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01492, allocations: 12 kB / 333.3 MB, free: 6.883 MB / 298.7 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 9.743e-05/0.01502, allocations: 141.6 kB / 333.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.01504, allocations: 23.8 kB / 333.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.01513, allocations: 21.97 kB / 333.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01513, allocations: 8 kB / 333.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.01514, allocations: 0 / 333.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01514, allocations: 3.984 kB / 333.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.01589, allocations: 0.5588 MB / 334 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01589, allocations: 4 kB / 334.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.01603, allocations: 47.89 kB / 334.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01603, allocations: 0 / 334.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01605, allocations: 11.98 kB / 334.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01605, allocations: 3.938 kB / 334.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01605, allocations: 0 / 334.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.01664, allocations: 487 kB / 334.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.01666, allocations: 19.8 kB / 334.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.01669, allocations: 12.06 kB / 334.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.01678, allocations: 19.97 kB / 334.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.01683, allocations: 23.91 kB / 334.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.01684, allocations: 8.125 kB / 334.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.01694, allocations: 160.9 kB / 334.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01694, allocations: 0 / 334.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.0172, allocations: 59.94 kB / 334.9 MB, free: 5.215 MB / 298.7 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.001029/0.01823, allocations: 1.114 MB / 336 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.01868, allocations: 267.6 kB / 336.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01868, allocations: 4.062 kB / 336.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.01885, allocations: 111.8 kB / 336.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01909, allocations: 23.89 kB / 336.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.0218, allocations: 2.813 MB / 339.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.02189, allocations: 137.5 kB / 339.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.022, allocations: 33.88 kB / 339.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.02209, allocations: 68.47 kB / 339.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02209, allocations: 0 / 339.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.04026, allocations: 6.143 MB / 345.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.767, allocations: 7.938 kB / 345.6 MB, free: 10.49 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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: 8.47274188324809] 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'] 6.852801467292011 6.860971944 6.850739016 Calling exit ...