Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.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.002056/0.002056, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002039/0.002039, allocations: 212 kB / 24.54 MB, free: 4.016 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",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.002041/0.002041, allocations: 72.7 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2666, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002869/0.2694, allocations: 1.508 MB / 433.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2707, allocations: 0.5925 MB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.2708, allocations: 4 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2709, allocations: 11.81 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.271, allocations: 15.86 kB / 434 MB, free: 4.754 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.0006365/0.2716, allocations: 155.5 kB / 434.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2718, allocations: 115.7 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.2718, allocations: 5.312 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.2719, allocations: 51.83 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.2726, allocations: 70.69 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.2726, allocations: 11.94 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.2729, allocations: 151.7 kB / 434.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.273, allocations: 31.91 kB / 434.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.2731, allocations: 63.55 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.2734, allocations: 192.1 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.2734, allocations: 8 kB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2734, allocations: 4 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2734, allocations: 0 / 434.9 MB, free: 3.922 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007114/0.2741, allocations: 381.4 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2742, allocations: 8.031 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.2743, allocations: 42.73 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.2746, allocations: 40.81 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2747, allocations: 143.1 kB / 435.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2748, allocations: 8.359 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.2748, allocations: 8.375 kB / 435.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.275, allocations: 119.2 kB / 435.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.275, allocations: 0 / 435.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2751, allocations: 11.97 kB / 435.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2751, allocations: 0 / 435.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2752, allocations: 55.91 kB / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.276, allocations: 419.9 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.2763, allocations: 129.2 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2764, allocations: 45.77 kB / 436.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2764, allocations: 4 kB / 436.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.2767, allocations: 147.9 kB / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2767, allocations: 0 / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005617/0.2773, allocations: 234 kB / 436.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.2774, allocations: 97.03 kB / 436.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2775, allocations: 174.2 kB / 436.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2776, allocations: 49.69 kB / 437 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.2777, allocations: 104.5 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.2777, allocations: 51.62 kB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2778, allocations: 57.92 kB / 437.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.278, allocations: 330.8 kB / 437.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2782, allocations: 100.5 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.2784, allocations: 124.4 kB / 437.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.2787, allocations: 211.4 kB / 437.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2787, allocations: 4 kB / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004872/0.2792, allocations: 297.3 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2792, allocations: 4 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2793, allocations: 0 / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2793, allocations: 8.062 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2794, allocations: 27.92 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2794, allocations: 3.984 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.2795, allocations: 31.8 kB / 438.3 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2795, allocations: 11.94 kB / 438.3 MB, free: 268 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001605/0.2797, allocations: 141.8 kB / 438.4 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2797, allocations: 11.91 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.2797, allocations: 17.41 kB / 438.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2797, allocations: 4.031 kB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2798, allocations: 7.922 kB / 438.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2798, allocations: 3.938 kB / 438.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.28, allocations: 184.6 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.28, allocations: 4 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.28, allocations: 8 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.28, allocations: 0 / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2801, allocations: 7.984 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2801, allocations: 0 / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2801, allocations: 4 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.2804, allocations: 221.7 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.2805, allocations: 11.91 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.2805, allocations: 12 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.2805, allocations: 3.984 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.2806, allocations: 23.86 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2806, allocations: 4 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2807, allocations: 132.2 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.281, allocations: 43.94 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001223/0.2823, allocations: 0.907 MB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.2827, allocations: 175.8 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2827, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2828, allocations: 51.97 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.283, allocations: 6.438 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2856, allocations: 2.099 MB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2859, allocations: 0.7195 MB / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.286, allocations: 21.11 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.2861, allocations: 35.42 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2861, allocations: 0 / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.3157, allocations: 3.753 MB / 446.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.684, allocations: 16.41 kB / 446.9 MB, free: 7.547 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.145083504263312] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.76239401800558 8.791387594 8.511107662 Calling exit ...