Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.001921/0.001921, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.002838/0.002838, allocations: 209.2 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Distributions,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.88 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3937, allocations: 53.4 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003069/0.3967, allocations: 1.527 MB / 433.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.3994, allocations: 1.398 MB / 434.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.3995, allocations: 0 / 434.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3996, allocations: 15.86 kB / 434.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3997, allocations: 27.8 kB / 434.9 MB, free: 3.504 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001235/0.401, allocations: 402.7 kB / 435.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.4012, allocations: 123.7 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.4012, allocations: 9.672 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.4013, allocations: 63.7 kB / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.402, allocations: 92.52 kB / 435.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.402, allocations: 12 kB / 435.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007747/0.4028, allocations: 455.1 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.4028, allocations: 35.92 kB / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.4029, allocations: 59.58 kB / 436.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.4036, allocations: 401 kB / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4036, allocations: 0 / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4036, allocations: 0 / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.4036, allocations: 0 / 436.5 MB, free: 1.887 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008558/0.4044, allocations: 464.7 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4045, allocations: 12.03 kB / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.901e-05/0.4045, allocations: 192 / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.4046, allocations: 42.73 kB / 437 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.4048, allocations: 36.78 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.405, allocations: 152.2 kB / 437.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.405, allocations: 8.359 kB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.4051, allocations: 12.38 kB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.4054, allocations: 136.1 kB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4054, allocations: 4 kB / 437.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.4054, allocations: 8 kB / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.4054, allocations: 0 / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.4056, allocations: 71.88 kB / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.4065, allocations: 0.5194 MB / 437.9 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.4069, allocations: 167.9 kB / 438.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.407, allocations: 66.62 kB / 438.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.407, allocations: 0 / 438.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.4074, allocations: 165.9 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.4074, allocations: 0 / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001052/0.4084, allocations: 448.6 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.4085, allocations: 114.8 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.4087, allocations: 203.1 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.4088, allocations: 49.69 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.4088, allocations: 109.7 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.4089, allocations: 67.52 kB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.409, allocations: 61.69 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4091, allocations: 334.8 kB / 439.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4094, allocations: 111.8 kB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.4096, allocations: 157.3 kB / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.41, allocations: 256.1 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.41, allocations: 0 / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005741/0.4106, allocations: 339.5 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4106, allocations: 8 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4106, allocations: 3.938 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.4107, allocations: 7.938 kB / 440.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.4109, allocations: 39.91 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4109, allocations: 4 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-05/0.411, allocations: 20.14 kB / 440.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.411, allocations: 12.12 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.0001585/0.4111, allocations: 153.8 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.4112, allocations: 23.84 kB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.4112, allocations: 21.34 kB / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4112, allocations: 4 kB / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4112, allocations: 0 / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4112, allocations: 0 / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.4121, allocations: 0.6054 MB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4121, allocations: 4 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.4122, allocations: 19.98 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4122, allocations: 7.984 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.4122, allocations: 7.938 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.4122, allocations: 4 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/0.4123, allocations: 4.062 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.4128, allocations: 433.8 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4128, allocations: 19.86 kB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.4129, allocations: 15.98 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.413, allocations: 4 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.4131, allocations: 27.84 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4131, allocations: 12 kB / 442 MB, free: 12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.4133, allocations: 139.2 kB / 442.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4133, allocations: 4 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.4139, allocations: 131.6 kB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (n,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001897/0.4158, allocations: 1.264 MB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.4163, allocations: 220.4 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4163, allocations: 0 / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4165, allocations: 75.91 kB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.4169, allocations: 15.94 kB / 443.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.4204, allocations: 2.624 MB / 446.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.4205, allocations: 108.1 kB / 446.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.4206, allocations: 29.47 kB / 446.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4207, allocations: 51.42 kB / 446.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4207, allocations: 3.938 kB / 446.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.4507, allocations: 6.153 MB / 452.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 12.05 kB / 452.8 MB, free: 1.133 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.338076940970495] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.768396892002784 11.783452502 11.376594768 Calling exit ...