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.00161/0.00161, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001961/0.001961, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.607/1.607, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.002003/0.002003, allocations: 55.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4188, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003232/0.422, allocations: 1.55 MB / 433.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.4249, allocations: 1.523 MB / 435 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.425, allocations: 0 / 435 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.4251, allocations: 15.86 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4252, allocations: 27.73 kB / 435.1 MB, free: 3.543 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.001305/0.4265, allocations: 402.8 kB / 435.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.4267, allocations: 131.5 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.4268, allocations: 13.67 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.362e-05/0.4269, allocations: 55.77 kB / 435.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.4275, allocations: 85.53 kB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.4276, allocations: 12 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008971/0.4285, allocations: 471.1 kB / 436.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.4285, allocations: 43.83 kB / 436.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.4286, allocations: 63.61 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.4293, allocations: 411.1 kB / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4293, allocations: 0 / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4293, allocations: 0 / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4293, allocations: 0 / 436.7 MB, free: 1.895 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.0009274/0.4303, allocations: 456.6 kB / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4303, allocations: 8.031 kB / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.493e-05/0.4304, allocations: 8.172 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.697e-05/0.4304, allocations: 46.75 kB / 437.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.4307, allocations: 36.77 kB / 437.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4309, allocations: 148.3 kB / 437.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.4309, allocations: 4.375 kB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.431, allocations: 12.38 kB / 437.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.4313, allocations: 143.4 kB / 437.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4314, allocations: 4 kB / 437.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.4314, allocations: 8 kB / 437.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.4314, allocations: 3.984 kB / 437.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.4317, allocations: 71.89 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4327, allocations: 0.5469 MB / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.4331, allocations: 155.7 kB / 438.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4333, allocations: 70.62 kB / 438.4 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4333, allocations: 7.938 kB / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.4337, allocations: 165.8 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.4337, allocations: 0 / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001136/0.4349, allocations: 436.7 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.435, allocations: 126.7 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.4352, allocations: 195.2 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.822e-05/0.4353, allocations: 53.81 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.4353, allocations: 108.7 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.4354, allocations: 71.47 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.4355, allocations: 61.69 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4357, allocations: 331.8 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.4359, allocations: 111.7 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.4362, allocations: 157.3 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.4366, allocations: 256.1 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4366, allocations: 4 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005939/0.4372, allocations: 335.5 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4372, allocations: 4 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4372, allocations: 0 / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.4373, allocations: 8.094 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.4375, allocations: 51.91 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4375, allocations: 3.938 kB / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.4376, allocations: 12 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.4376, allocations: 11.98 kB / 440.9 MB, free: 13.45 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.0001787/0.4378, allocations: 145.8 kB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.4378, allocations: 27.84 kB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4379, allocations: 21.34 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4379, allocations: 4 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4379, allocations: 4.125 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4379, allocations: 0 / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.4388, allocations: 0.6171 MB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4388, allocations: 4 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.4389, allocations: 23.92 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4389, allocations: 4 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4389, allocations: 7.984 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4389, allocations: 4 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4389, allocations: 4 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.4395, allocations: 437.8 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.4396, allocations: 15.86 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.4396, allocations: 19.98 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4397, allocations: 8 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4398, allocations: 19.91 kB / 442.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.4398, allocations: 8 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.44, allocations: 143.2 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.44, allocations: 0 / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006649/0.4406, allocations: 131.6 kB / 442.5 MB, free: 11.71 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.001921/0.4426, allocations: 1.267 MB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.4431, allocations: 208.2 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4431, allocations: 4 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.4433, allocations: 84.53 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4437, allocations: 11.94 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.4471, allocations: 2.63 MB / 446.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.4475, allocations: 0.7242 MB / 447.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.4476, allocations: 29.45 kB / 447.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.4477, allocations: 47.42 kB / 447.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 1.974e-06/0.4477, allocations: 4 kB / 447.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4793, allocations: 6.102 MB / 453.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.32, allocations: 11.98 kB / 453.6 MB, free: 0.5391 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: 15.096136180975009] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 12.484599591000006 12.499455304 12.067044958 Calling exit ...