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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002094/0.002094, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [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.001903/0.001903, allocations: 64.77 kB / 378.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2622, allocations: 53.37 MB / 431.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003226/0.2655, allocations: 1.879 MB / 433.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2678, allocations: 1.337 MB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.2679, allocations: 0 / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.268, allocations: 23.67 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2682, allocations: 31.73 kB / 435.2 MB, free: 3.758 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.0008887/0.2691, allocations: 323.1 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2693, allocations: 215.5 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2695, allocations: 52.55 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2696, allocations: 99.62 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.2702, allocations: 133.5 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.2703, allocations: 24 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.2708, allocations: 331.4 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.2709, allocations: 55.83 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.271, allocations: 99.39 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.2716, allocations: 399.4 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2716, allocations: 0 / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2716, allocations: 0 / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2716, allocations: 0 / 436.9 MB, free: 2.07 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.001135/0.2727, allocations: 0.5058 MB / 437.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2728, allocations: 12.03 kB / 437.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.824e-05/0.2729, allocations: 54.69 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.2731, allocations: 40.72 kB / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2734, allocations: 182.2 kB / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.2734, allocations: 12.38 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.2734, allocations: 27.89 kB / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.274, allocations: 207.2 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.274, allocations: 4 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.274, allocations: 11.98 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.274, allocations: 4 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.2745, allocations: 156.2 kB / 438.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2756, allocations: 0.5466 MB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2767, allocations: 294.8 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.277, allocations: 104.8 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.277, allocations: 11.84 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.2774, allocations: 172.7 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.2774, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001043/0.2784, allocations: 355.3 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2785, allocations: 63.39 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.2787, allocations: 218.7 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.2788, allocations: 41.69 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2789, allocations: 124.6 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.279, allocations: 75.41 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2791, allocations: 77.64 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2793, allocations: 334.8 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2796, allocations: 127.9 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.28, allocations: 173.5 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.2806, allocations: 259.3 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2806, allocations: 4 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008561/0.2815, allocations: 382.5 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2815, allocations: 7.984 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2815, allocations: 3.984 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2815, allocations: 8.031 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2819, allocations: 63.89 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2819, allocations: 4 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.282, allocations: 35.81 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.2821, allocations: 12 kB / 441.5 MB, free: 13.22 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.0001799/0.2823, allocations: 154.2 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.2823, allocations: 19.86 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/0.2824, allocations: 25.95 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2824, allocations: 3.938 kB / 441.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2824, allocations: 4 kB / 441.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2824, allocations: 0 / 441.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.2835, allocations: 0.6063 MB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2835, allocations: 0 / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2838, allocations: 39.95 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2838, allocations: 4 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2838, allocations: 4 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2838, allocations: 0 / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2838, allocations: 8 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2849, allocations: 486 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2849, allocations: 31.8 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.285, allocations: 8.125 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2851, allocations: 23.97 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.2852, allocations: 15.97 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2852, allocations: 4 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.2854, allocations: 156.7 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2854, allocations: 0 / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2858, allocations: 107.8 kB / 443.2 MB, free: 11.47 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.001949/0.2878, allocations: 1.171 MB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.2885, allocations: 272.2 kB / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2885, allocations: 0 / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.2889, allocations: 103.9 kB / 444.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2892, allocations: 35.86 kB / 444.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.2937, allocations: 2.825 MB / 447.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.2942, allocations: 0.7398 MB / 448.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.2943, allocations: 33.94 kB / 448.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2944, allocations: 71.41 kB / 448.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2944, allocations: 0 / 448.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/0.3428, allocations: 6.198 MB / 454.7 MB, free: 32 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.052, allocations: 0 / 454.7 MB, free: 32 kB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.474966990761459] 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'] 9.126584022771567 9.145420931 8.869961639 Calling exit ...