Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.2 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.988 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 51.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 53.36 MB / 431.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002546/0.2418, allocations: 1.514 MB / 433.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2429, allocations: 0.5924 MB / 434 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.243, allocations: 3.938 kB / 434 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.06e-05/0.2431, allocations: 15.86 kB / 434 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.2431, allocations: 19.81 kB / 434.1 MB, free: 4.816 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0005424/0.2437, allocations: 147.6 kB / 434.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.2438, allocations: 115.7 kB / 434.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.2439, allocations: 9.297 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.2439, allocations: 43.84 kB / 434.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.2445, allocations: 77.39 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2445, allocations: 12 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.2448, allocations: 139.8 kB / 434.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.2449, allocations: 39.89 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.2449, allocations: 59.61 kB / 434.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2452, allocations: 196 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2453, allocations: 0 / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2453, allocations: 0 / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2453, allocations: 0 / 434.9 MB, free: 4.004 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.0006401/0.2459, allocations: 389.4 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2459, allocations: 8.031 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.929e-05/0.246, allocations: 192 / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.246, allocations: 46.73 kB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004837/0.2465, allocations: 40.81 kB / 435.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2467, allocations: 143 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.2467, allocations: 8.359 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.2468, allocations: 12.12 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.2471, allocations: 111.4 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2471, allocations: 3.938 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2472, allocations: 4 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2472, allocations: 3.984 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.2474, allocations: 59.95 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.2483, allocations: 439.9 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.2487, allocations: 121.2 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2488, allocations: 57.77 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2488, allocations: 11.88 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.2492, allocations: 141 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.2492, allocations: 0 / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.001261/0.2505, allocations: 349 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.2506, allocations: 97.09 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.2509, allocations: 174.2 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.2509, allocations: 45.7 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.251, allocations: 100.6 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.2511, allocations: 51.62 kB / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.2513, allocations: 61.69 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.2515, allocations: 334.8 kB / 437.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.2518, allocations: 99.95 kB / 437.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.2522, allocations: 140.8 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.2529, allocations: 230.1 kB / 438.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2529, allocations: 0 / 438.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008718/0.2537, allocations: 313.2 kB / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2538, allocations: 4 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2538, allocations: 48 / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2538, allocations: 11.92 kB / 438.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.2541, allocations: 31.98 kB / 438.4 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2541, allocations: 8.031 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2542, allocations: 19.92 kB / 438.5 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2542, allocations: 7.938 kB / 438.5 MB, free: 152 kB / 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.0002364/0.2545, allocations: 149.8 kB / 438.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.2545, allocations: 15.91 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.2546, allocations: 13.39 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2546, allocations: 4 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2546, allocations: 4 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2546, allocations: 0 / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.2555, allocations: 423.5 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2555, allocations: 0 / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.2556, allocations: 15.94 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2556, allocations: 0 / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.2556, allocations: 15.98 kB / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2556, allocations: 320 / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2556, allocations: 0 / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.2563, allocations: 320.3 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2564, allocations: 15.91 kB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.2564, allocations: 15.92 kB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2566, allocations: 8 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.2567, allocations: 15.97 kB / 439.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2567, allocations: 8 kB / 439.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.2569, allocations: 124.2 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2569, allocations: 0 / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005874/0.2574, allocations: 51.92 kB / 439.7 MB, free: 14.88 MB / 350.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.00189/0.2593, allocations: 1.026 MB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006942/0.26, allocations: 192.2 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.26, allocations: 0 / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.2603, allocations: 59.91 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.2607, allocations: 19.16 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.2651, allocations: 2.252 MB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.2656, allocations: 0.7201 MB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.216e-05/0.2657, allocations: 17.08 kB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2659, allocations: 47.5 kB / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2659, allocations: 0 / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2948, allocations: 4.04 MB / 448 MB, free: 6.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.06, allocations: 22.27 kB / 448 MB, free: 6.508 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.340381309972145] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.216879736981355 11.232692326 10.984382526 Calling exit ...