Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00259/0.2387, allocations: 1.508 MB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2398, allocations: 0.5834 MB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.2399, allocations: 4 kB / 425.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.24, allocations: 15.8 kB / 425.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.2401, allocations: 15.88 kB / 425.5 MB, free: 12.48 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.0005643/0.2406, allocations: 151.5 kB / 425.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2408, allocations: 115.7 kB / 425.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.2408, allocations: 5.297 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.2409, allocations: 55.77 kB / 425.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.2414, allocations: 64.97 kB / 425.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2415, allocations: 12 kB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.2418, allocations: 147.8 kB / 426.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.2418, allocations: 39.83 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.2419, allocations: 55.67 kB / 426.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.2422, allocations: 200.1 kB / 426.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2422, allocations: 0 / 426.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2422, allocations: 0 / 426.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2422, allocations: 0 / 426.4 MB, free: 11.66 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.0006513/0.2429, allocations: 385.4 kB / 426.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2429, allocations: 12.03 kB / 426.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.325e-05/0.243, allocations: 4.188 kB / 426.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.243, allocations: 42.73 kB / 426.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.2433, allocations: 40.81 kB / 426.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2435, allocations: 146 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2435, allocations: 4 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.2435, allocations: 11.98 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2438, allocations: 118.2 kB / 427.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.2438, allocations: 0 / 427.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2438, allocations: 0 / 427.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2438, allocations: 0 / 427.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.244, allocations: 63.89 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.2447, allocations: 443.8 kB / 427.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.245, allocations: 129.2 kB / 427.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2451, allocations: 57.77 kB / 427.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2451, allocations: 4 kB / 427.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.2454, allocations: 145 kB / 427.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.2454, allocations: 0 / 427.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008023/0.2462, allocations: 341.1 kB / 428.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.2463, allocations: 101 kB / 428.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2464, allocations: 174.2 kB / 428.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.2465, allocations: 45.69 kB / 428.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.2466, allocations: 112.6 kB / 428.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.2466, allocations: 47.64 kB / 428.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2467, allocations: 65.67 kB / 428.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2469, allocations: 334.8 kB / 429.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2471, allocations: 95.95 kB / 429.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2473, allocations: 143.3 kB / 429.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2477, allocations: 230.1 kB / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2477, allocations: 0 / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005041/0.2482, allocations: 305.4 kB / 429.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2482, allocations: 4 kB / 429.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2482, allocations: 0 / 429.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2482, allocations: 4 kB / 429.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2484, allocations: 36.02 kB / 429.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2484, allocations: 3.938 kB / 429.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.2485, allocations: 23.92 kB / 430 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2485, allocations: 8 kB / 430 MB, free: 7.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * 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.0001455/0.2487, allocations: 153.7 kB / 430.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2487, allocations: 15.84 kB / 430.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.2487, allocations: 13.41 kB / 430.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2487, allocations: 11.98 kB / 430.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2487, allocations: 3.938 kB / 430.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2487, allocations: 0 / 430.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.2493, allocations: 411.1 kB / 430.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2493, allocations: 7.922 kB / 430.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2494, allocations: 12 kB / 430.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2494, allocations: 4.062 kB / 430.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2494, allocations: 8.453 kB / 430.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2494, allocations: 3.938 kB / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2494, allocations: 0 / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.2498, allocations: 317.9 kB / 430.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.2499, allocations: 19.84 kB / 430.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2499, allocations: 11.98 kB / 430.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.25, allocations: 12.12 kB / 430.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.25, allocations: 19.91 kB / 431 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.25, allocations: 4 kB / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2502, allocations: 132.2 kB / 431.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2502, allocations: 0 / 431.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.2505, allocations: 55.92 kB / 431.2 MB, free: 6.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001201/0.2517, allocations: 1.012 MB / 432.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.2521, allocations: 196.2 kB / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2521, allocations: 0 / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2522, allocations: 59.91 kB / 432.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.2525, allocations: 11.98 kB / 432.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.2552, allocations: 2.268 MB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2555, allocations: 0.7125 MB / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.2556, allocations: 17.08 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.2557, allocations: 43.42 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2557, allocations: 4 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2839, allocations: 4.043 MB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.46, allocations: 9.172 kB / 439.5 MB, free: 14.15 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.6893143109628] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.620155874988995 11.635627695 11.390354599 Calling exit ...