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.001286/0.001286, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001374/0.001374, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.001476/0.001476, allocations: 43.94 kB / 378.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2761, allocations: 53.37 MB / 431.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002633/0.2788, allocations: 1.473 MB / 433.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2799, allocations: 0.573 MB / 433.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.28, allocations: 4 kB / 433.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.928e-05/0.28, allocations: 7.875 kB / 433.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-05/0.2801, allocations: 19.73 kB / 433.9 MB, free: 4.523 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.0005443/0.2807, allocations: 159.6 kB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2808, allocations: 111.6 kB / 434.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2809, allocations: 5.312 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.2809, allocations: 51.83 kB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.2815, allocations: 72.23 kB / 434.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.2815, allocations: 12 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.2818, allocations: 147.7 kB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.2818, allocations: 35.84 kB / 434.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.2819, allocations: 43.78 kB / 434.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2822, allocations: 189.6 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2822, allocations: 4 kB / 434.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2822, allocations: 3.938 kB / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2822, allocations: 3.938 kB / 434.8 MB, free: 3.703 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.0006684/0.2829, allocations: 385.4 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2829, allocations: 8.031 kB / 435.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.218e-05/0.2829, allocations: 4.188 kB / 435.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.283, allocations: 34.73 kB / 435.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.2833, allocations: 44.81 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.2835, allocations: 143.1 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2835, allocations: 12.31 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.2835, allocations: 8.125 kB / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.2838, allocations: 119.3 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2838, allocations: 3.938 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2838, allocations: 7.984 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2838, allocations: 0 / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.284, allocations: 59.95 kB / 435.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.2847, allocations: 423.8 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.285, allocations: 125.2 kB / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2851, allocations: 57.75 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.2851, allocations: 4 kB / 436.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.2854, allocations: 149 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.2854, allocations: 0 / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008039/0.2862, allocations: 333.1 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.2862, allocations: 93.09 kB / 436.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2864, allocations: 186.1 kB / 436.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.2864, allocations: 41.7 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.2865, allocations: 104.6 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.2866, allocations: 55.61 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.2867, allocations: 65.64 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2868, allocations: 334.8 kB / 437.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.287, allocations: 95.95 kB / 437.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2872, allocations: 140.8 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.2876, allocations: 230.1 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2876, allocations: 0 / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00054/0.2881, allocations: 309.3 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2881, allocations: 8 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2882, allocations: 0 / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2882, allocations: 64 / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.2883, allocations: 43.91 kB / 438.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2884, allocations: 4 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.2884, allocations: 4.516 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.2885, allocations: 24.02 kB / 438.3 MB, free: 15.87 MB / 350.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.0001434/0.2886, allocations: 149.7 kB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.2886, allocations: 15.91 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.2887, allocations: 17.39 kB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2887, allocations: 3.938 kB / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2887, allocations: 0 / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2887, allocations: 4 kB / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.2892, allocations: 411.1 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2892, allocations: 3.984 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.2893, allocations: 8 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2893, allocations: 4 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2893, allocations: 11.92 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2893, allocations: 7.938 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2893, allocations: 0 / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.2897, allocations: 316.4 kB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.2897, allocations: 15.97 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2898, allocations: 19.92 kB / 439.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.2899, allocations: 4 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2899, allocations: 15.97 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2899, allocations: 4 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.29, allocations: 132.2 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0 / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.2904, allocations: 43.94 kB / 439.5 MB, free: 14.61 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.001276/0.2917, allocations: 1.02 MB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.2921, allocations: 196.2 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2921, allocations: 0 / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2922, allocations: 59.91 kB / 440.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2924, allocations: 15.98 kB / 440.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.2951, allocations: 2.255 MB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.2952, allocations: 110 kB / 443.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.2953, allocations: 21.38 kB / 443.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.2954, allocations: 39.42 kB / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2954, allocations: 8 kB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3199, allocations: 4.071 MB / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.02, allocations: 3.375 kB / 447.3 MB, free: 6.852 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.32192884804681] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.180312359007075 11.194643113 10.909345008 Calling exit ...