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.001553/0.001553, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001711/0.001711, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15 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.001855/0.001855, allocations: 63.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 53.32 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002815/0.1123, allocations: 1.502 MB / 428.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1135, allocations: 0.5769 MB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.1135, allocations: 0 / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1136, allocations: 15.86 kB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.1137, allocations: 19.8 kB / 429 MB, free: 2.734 MB / 350.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.0005816/0.1143, allocations: 143.5 kB / 429.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1145, allocations: 115.6 kB / 429.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1145, allocations: 5.125 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.1146, allocations: 55.83 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.1151, allocations: 65.08 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1152, allocations: 8 kB / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.1154, allocations: 123.8 kB / 429.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1154, allocations: 27.91 kB / 429.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1155, allocations: 51.67 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1158, allocations: 207.2 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1158, allocations: 0 / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1158, allocations: 0 / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1158, allocations: 0 / 429.8 MB, free: 1.949 MB / 350.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.0006836/0.1165, allocations: 466.5 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1166, allocations: 8.031 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.1166, allocations: 38.75 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.1169, allocations: 36.81 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1171, allocations: 208.1 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1171, allocations: 4.375 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1172, allocations: 8.375 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1174, allocations: 127.2 kB / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1174, allocations: 0 / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1174, allocations: 3.938 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1174, allocations: 4 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1176, allocations: 55.97 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.1183, allocations: 456.7 kB / 431.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1186, allocations: 117.2 kB / 431.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1187, allocations: 57.77 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1187, allocations: 7.984 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1189, allocations: 139.9 kB / 431.5 MB, free: 48 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1189, allocations: 0 / 431.5 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.1897/0.3087, allocations: 235.7 kB / 431.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.3087, allocations: 91.3 kB / 431.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3089, allocations: 172.6 kB / 432 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3089, allocations: 45 kB / 432 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.309, allocations: 113.4 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.309, allocations: 38.25 kB / 432.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.3091, allocations: 58.25 kB / 432.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3092, allocations: 336.5 kB / 432.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.3093, allocations: 94.66 kB / 432.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.3095, allocations: 132.2 kB / 432.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.3099, allocations: 214.6 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3099, allocations: 0 / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000427/0.3103, allocations: 297.2 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3103, allocations: 7.203 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3103, allocations: 1.281 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3103, allocations: 1.625 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3105, allocations: 28.81 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3105, allocations: 6.047 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.3106, allocations: 22.23 kB / 433.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3106, allocations: 8.188 kB / 433.3 MB, free: 10.44 MB / 350.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.0001085/0.3107, allocations: 147.1 kB / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.3107, allocations: 17.84 kB / 433.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3107, allocations: 18.47 kB / 433.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3107, allocations: 0 / 433.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3107, allocations: 1.688 kB / 433.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3107, allocations: 2.688 kB / 433.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.3109, allocations: 218.2 kB / 433.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3109, allocations: 0 / 433.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.3109, allocations: 9.906 kB / 433.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3109, allocations: 1.531 kB / 433.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3109, allocations: 1.031 kB / 433.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3109, allocations: 5 kB / 433.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3109, allocations: 1.734 kB / 433.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3112, allocations: 224.8 kB / 434 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.3113, allocations: 91.38 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3113, allocations: 14.03 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.3113, allocations: 5.953 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3114, allocations: 15.73 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3114, allocations: 2.875 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.3115, allocations: 127.4 kB / 434.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3115, allocations: 0 / 434.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3117, allocations: 50.83 kB / 434.3 MB, free: 9.852 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.0009102/0.3126, allocations: 0.9144 MB / 435.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.313, allocations: 179.6 kB / 435.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.313, allocations: 1.062 kB / 435.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3131, allocations: 50.95 kB / 435.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3133, allocations: 9.172 kB / 435.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3152, allocations: 2.095 MB / 437.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3154, allocations: 0.7181 MB / 438.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.3154, allocations: 15.2 kB / 438.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.3155, allocations: 38.84 kB / 438.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3155, allocations: 0 / 438.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3416, allocations: 3.663 MB / 442 MB, free: 6.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.77, allocations: 5.641 kB / 442 MB, free: 6.727 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.077038827817887] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.843052616808563 8.860829966 8.742067792 Calling exit ...