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.001646/0.001646, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001805/0.001805, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.525/1.525, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.001778/0.001778, allocations: 59.84 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1201, allocations: 53.37 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003199/0.1233, allocations: 1.544 MB / 428.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.1264, allocations: 1.5 MB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1265, allocations: 4 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1266, allocations: 11.81 kB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1268, allocations: 27.78 kB / 430.1 MB, free: 1.504 MB / 350.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.00163/0.1284, allocations: 390.8 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.1287, allocations: 131.6 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.1288, allocations: 9.5 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1289, allocations: 63.75 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.1297, allocations: 86.3 kB / 430.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.1298, allocations: 12 kB / 430.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1308, allocations: 427.2 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1309, allocations: 43.83 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1311, allocations: 59.59 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2803/0.4113, allocations: 402 kB / 431.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4113, allocations: 0 / 431.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4113, allocations: 5.656 kB / 431.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4113, allocations: 0.9375 kB / 431.7 MB, free: 7.941 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009041/0.4123, allocations: 0.52 MB / 432.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4123, allocations: 9.938 kB / 432.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.839e-05/0.4123, allocations: 3.641 kB / 432.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.4124, allocations: 41.64 kB / 432.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.4127, allocations: 35.69 kB / 432.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4128, allocations: 207.9 kB / 432.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.4128, allocations: 9.469 kB / 432.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.4129, allocations: 11.16 kB / 432.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.4131, allocations: 142 kB / 432.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4132, allocations: 1.25 kB / 432.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4132, allocations: 4.312 kB / 432.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4132, allocations: 1.438 kB / 432.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.4134, allocations: 72.23 kB / 432.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.4141, allocations: 0.5794 MB / 433.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.4145, allocations: 160.5 kB / 433.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.4146, allocations: 69.09 kB / 433.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4146, allocations: 12.59 kB / 433.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.4149, allocations: 155.3 kB / 433.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.4149, allocations: 0.9375 kB / 433.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001013/0.416, allocations: 451.5 kB / 434.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.416, allocations: 116.4 kB / 434.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4162, allocations: 205.6 kB / 434.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4162, allocations: 45.91 kB / 434.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4163, allocations: 111.6 kB / 434.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.4163, allocations: 64.81 kB / 434.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.4164, allocations: 64.78 kB / 434.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.4164, allocations: 333 kB / 435.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4166, allocations: 111.9 kB / 435.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.4169, allocations: 155.4 kB / 435.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.4172, allocations: 255 kB / 435.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4172, allocations: 0.75 kB / 435.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005358/0.4178, allocations: 342.6 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4178, allocations: 5.625 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4178, allocations: 3.078 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4178, allocations: 6.281 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.418, allocations: 44.78 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.418, allocations: 4.438 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.122e-05/0.4181, allocations: 20.59 kB / 436.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.4181, allocations: 12.44 kB / 436.1 MB, free: 5.602 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.0001286/0.4183, allocations: 152.1 kB / 436.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.4183, allocations: 19.27 kB / 436.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.4183, allocations: 17.31 kB / 436.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4183, allocations: 5.312 kB / 436.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.4184, allocations: 2.688 kB / 436.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4184, allocations: 5.125 kB / 436.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.4191, allocations: 0.6408 MB / 436.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4191, allocations: 6.641 kB / 436.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.4192, allocations: 30.41 kB / 436.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4192, allocations: 2.25 kB / 436.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4192, allocations: 4.219 kB / 436.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4192, allocations: 6.641 kB / 436.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4192, allocations: 3.406 kB / 437 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.4196, allocations: 428.8 kB / 437.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.4197, allocations: 102.2 kB / 437.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.4197, allocations: 12.53 kB / 437.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4198, allocations: 8.531 kB / 437.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.4199, allocations: 26.38 kB / 437.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4199, allocations: 8.562 kB / 437.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.42, allocations: 135.5 kB / 437.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.42, allocations: 0 / 437.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005852/0.4206, allocations: 130.8 kB / 437.8 MB, free: 4.566 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.001491/0.4221, allocations: 1.262 MB / 439 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.4226, allocations: 209.4 kB / 439.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4226, allocations: 0 / 439.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.4228, allocations: 75.69 kB / 439.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4231, allocations: 19.09 kB / 439.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.4259, allocations: 2.622 MB / 442 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.4261, allocations: 0.7293 MB / 442.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.4262, allocations: 26.56 kB / 442.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.4262, allocations: 52.12 kB / 442.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4262, allocations: 0 / 442.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.4531, allocations: 5.891 MB / 448.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.998/9.451, allocations: 6.594 kB / 448.7 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.020342796982732] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 9.577699846995529 9.601806334 9.185883774 Calling exit ...