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.0017/0.0017, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002036/0.002036, allocations: 219.5 kB / 23 MB, free: 5.609 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.407/1.407, allocations: 230.5 MB / 256.5 MB, free: 8.402 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.001885/0.001885, allocations: 71.88 kB / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 53.31 MB / 429.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002665/0.2679, allocations: 1.504 MB / 431 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2691, allocations: 0.5886 MB / 431.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.2691, allocations: 0 / 431.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.369e-05/0.2692, allocations: 11.81 kB / 431.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.2693, allocations: 19.88 kB / 431.6 MB, free: 5.266 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.0005396/0.2698, allocations: 147.5 kB / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.27, allocations: 115.7 kB / 431.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.27, allocations: 5.125 kB / 431.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.2701, allocations: 43.84 kB / 432 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.2707, allocations: 84.47 kB / 432 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2707, allocations: 8 kB / 432 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2709, allocations: 119.8 kB / 432.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.271, allocations: 35.84 kB / 432.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.2711, allocations: 51.67 kB / 432.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.2714, allocations: 207.6 kB / 432.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2714, allocations: 0 / 432.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2714, allocations: 0 / 432.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2714, allocations: 0 / 432.4 MB, free: 4.477 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.0007897/0.2722, allocations: 462.5 kB / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2722, allocations: 12.03 kB / 432.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/0.2723, allocations: 34.75 kB / 432.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.2726, allocations: 40.81 kB / 433 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.2728, allocations: 200.2 kB / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.2728, allocations: 8.375 kB / 433.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2728, allocations: 4.375 kB / 433.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.273, allocations: 123.2 kB / 433.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2731, allocations: 4 kB / 433.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2731, allocations: 0 / 433.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2731, allocations: 3.938 kB / 433.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2732, allocations: 67.88 kB / 433.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.2739, allocations: 448.8 kB / 433.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.2742, allocations: 125.2 kB / 433.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.2743, allocations: 49.75 kB / 434 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2744, allocations: 0 / 434 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.2746, allocations: 137.1 kB / 434.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2746, allocations: 0 / 434.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000527/0.2751, allocations: 241.5 kB / 434.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.2752, allocations: 97.03 kB / 434.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.2755, allocations: 178.2 kB / 434.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.2755, allocations: 45.69 kB / 434.7 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.2756, allocations: 108.6 kB / 434.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.2756, allocations: 47.62 kB / 434.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.2757, allocations: 57.92 kB / 434.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2759, allocations: 334.8 kB / 435.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2761, allocations: 96.47 kB / 435.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2763, allocations: 127.5 kB / 435.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.2766, allocations: 206.9 kB / 435.6 MB, free: 1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2766, allocations: 4 kB / 435.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000486/0.2771, allocations: 293.4 kB / 435.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2771, allocations: 8.062 kB / 435.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2771, allocations: 0 / 435.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2771, allocations: 4 kB / 435.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2773, allocations: 27.97 kB / 436 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2773, allocations: 3.938 kB / 436 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.2774, allocations: 23.83 kB / 436 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2774, allocations: 4 kB / 436 MB, free: 0.6328 MB / 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.0001472/0.2775, allocations: 149.8 kB / 436.1 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.2775, allocations: 11.91 kB / 436.2 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.2776, allocations: 17.39 kB / 436.2 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.2776, allocations: 4 kB / 436.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2776, allocations: 0 / 436.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2776, allocations: 7.875 kB / 436.2 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.2778, allocations: 209.5 kB / 436.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2778, allocations: 3.938 kB / 436.4 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.2778, allocations: 11.98 kB / 436.4 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2778, allocations: 96 / 436.4 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2779, allocations: 8 kB / 436.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2779, allocations: 4 kB / 436.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2779, allocations: 3.984 kB / 436.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.2783, allocations: 221.7 kB / 436.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.2783, allocations: 92.95 kB / 436.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.2783, allocations: 7.984 kB / 436.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.2784, allocations: 12 kB / 436.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.2784, allocations: 19.86 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2785, allocations: 3.984 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.2786, allocations: 132.2 kB / 436.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2786, allocations: 0 / 436.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.2788, allocations: 43.94 kB / 436.9 MB, free: 15.58 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.00113/0.28, allocations: 0.9131 MB / 437.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.2804, allocations: 179.8 kB / 438 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2804, allocations: 0 / 438 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2805, allocations: 47.97 kB / 438.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.2807, allocations: 19.02 kB / 438.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.2832, allocations: 2.111 MB / 440.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.2836, allocations: 0.7117 MB / 440.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.2837, allocations: 16.88 kB / 440.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.2837, allocations: 39.41 kB / 441 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2837, allocations: 4 kB / 441 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3109, allocations: 3.652 MB / 444.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.476, allocations: 14.31 kB / 444.6 MB, free: 7.852 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 --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: 10.707456926000305] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.547686392004834 8.571675191 8.295545597 Calling exit ...