Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.00098/0.00098, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009846/0.0009846, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.8794/0.8794, allocations: 177 MB / 204.1 MB, free: 5.758 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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.567e-05, allocations: 3.125 kB / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001984/0.002, allocations: 1.828 MB / 326.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.003607, allocations: 1.239 MB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.003699, allocations: 8 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.003805, allocations: 15.75 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.003923, allocations: 39.64 kB / 327.7 MB, free: 12.61 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.0007363/0.004659, allocations: 326.8 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.004863, allocations: 219.4 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.004989, allocations: 48.34 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.005103, allocations: 139.7 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.005496, allocations: 95.02 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.005538, allocations: 27.94 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.005922, allocations: 319.3 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.005974, allocations: 51.77 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.006039, allocations: 71.8 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.0065, allocations: 438.7 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.006501, allocations: 0 / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006502, allocations: 0 / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006507, allocations: 0 / 329.4 MB, free: 10.91 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.0007661/0.007273, allocations: 0.5059 MB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.007309, allocations: 15.92 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.007377, allocations: 54.69 kB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.007538, allocations: 32.78 kB / 330 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.007731, allocations: 193.8 kB / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.007754, allocations: 16.38 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.007783, allocations: 24.38 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.008082, allocations: 200 kB / 330.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.00809, allocations: 192 / 330.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.008105, allocations: 8.125 kB / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.008111, allocations: 4 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.008375, allocations: 160.2 kB / 330.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.009119, allocations: 0.5114 MB / 331.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.009963, allocations: 297.5 kB / 331.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.01015, allocations: 120.7 kB / 331.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.01017, allocations: 7.938 kB / 331.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.01045, allocations: 171.1 kB / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.01045, allocations: 0 / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006396/0.01109, allocations: 353.3 kB / 332 MB, free: 8.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.01113, allocations: 63.33 kB / 332.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01131, allocations: 219 kB / 332.3 MB, free: 7.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.01134, allocations: 41.69 kB / 332.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.01141, allocations: 128.6 kB / 332.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.01145, allocations: 75.38 kB / 332.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.01153, allocations: 69.67 kB / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01163, allocations: 334.8 kB / 332.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.01184, allocations: 131.7 kB / 333 MB, free: 7.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01206, allocations: 166.2 kB / 333.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.01242, allocations: 271.2 kB / 333.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01243, allocations: 0 / 333.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004872/0.01291, allocations: 378.4 kB / 333.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01293, allocations: 8 kB / 333.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01294, allocations: 3.984 kB / 333.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01295, allocations: 0 / 333.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.01313, allocations: 71.92 kB / 333.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01314, allocations: 0 / 333.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.01323, allocations: 43.81 kB / 334 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01325, allocations: 8 kB / 334 MB, free: 6.09 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 0.0001236/0.01337, allocations: 153.6 kB / 334.1 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01339, allocations: 27.8 kB / 334.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.01344, allocations: 21.95 kB / 334.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01344, allocations: 0 / 334.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01345, allocations: 0 / 334.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.01345, allocations: 4 kB / 334.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.01414, allocations: 0.5627 MB / 334.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01414, allocations: 0 / 334.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.01427, allocations: 47.89 kB / 334.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.01428, allocations: 4 kB / 334.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01429, allocations: 0 / 334.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01429, allocations: 0 / 334.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0143, allocations: 0 / 334.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.01489, allocations: 491 kB / 335.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.01492, allocations: 23.8 kB / 335.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01495, allocations: 8.062 kB / 335.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.01504, allocations: 27.97 kB / 335.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.0151, allocations: 15.91 kB / 335.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.01511, allocations: 16 kB / 335.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.01521, allocations: 152.9 kB / 335.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01521, allocations: 0 / 335.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.01555, allocations: 103.7 kB / 335.6 MB, free: 4.379 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.001187/0.01674, allocations: 1.191 MB / 336.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.01721, allocations: 271.6 kB / 337.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01721, allocations: 0 / 337.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.01738, allocations: 107.8 kB / 337.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01765, allocations: 27.89 kB / 337.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.02036, allocations: 2.817 MB / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.02045, allocations: 129.5 kB / 340.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.929e-05/0.02054, allocations: 29.94 kB / 340.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.02063, allocations: 76.47 kB / 340.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02063, allocations: 0 / 340.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.03963, allocations: 6.925 MB / 347.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.8, allocations: 0 / 347.2 MB, free: 8.805 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.538058995269239] 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.881880202330649 6.891856495 6.882950973 Calling exit ...