Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001384/0.001384, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001625/0.001625, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",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.001973/0.001973, allocations: 68.77 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3407, allocations: 53.36 MB / 431.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003131/0.3439, allocations: 1.56 MB / 433.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3469, allocations: 1.52 MB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.347, allocations: 4 kB / 435 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3471, allocations: 11.81 kB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3472, allocations: 23.78 kB / 435 MB, free: 3.805 MB / 334.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.001381/0.3486, allocations: 402.8 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.3488, allocations: 135.5 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.3488, allocations: 5.688 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.3489, allocations: 59.77 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.3497, allocations: 78.2 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.3497, allocations: 15.94 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.3505, allocations: 467.1 kB / 436.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.3506, allocations: 47.89 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.3507, allocations: 55.61 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.3513, allocations: 415.5 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3513, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3513, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3514, allocations: 0 / 436.7 MB, free: 2.16 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.0008722/0.3522, allocations: 456.7 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.3523, allocations: 16.02 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.3524, allocations: 34.75 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.3526, allocations: 36.83 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3528, allocations: 148 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3528, allocations: 8.359 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3529, allocations: 15.88 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3532, allocations: 128.2 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3532, allocations: 7.984 kB / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3532, allocations: 4 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3532, allocations: 4 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.3534, allocations: 63.89 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.3543, allocations: 0.539 MB / 438.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.3547, allocations: 139.8 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3549, allocations: 62.55 kB / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3549, allocations: 0 / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.3552, allocations: 165 kB / 438.5 MB, free: 176 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.3552, allocations: 0 / 438.5 MB, free: 176 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006459/0.3558, allocations: 253.4 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.356, allocations: 118.8 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3562, allocations: 199.1 kB / 439 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.3562, allocations: 49.69 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.3563, allocations: 108.7 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.3564, allocations: 51.61 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.3565, allocations: 57.69 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3566, allocations: 326.8 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3569, allocations: 99.94 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3571, allocations: 136.1 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.3575, allocations: 232.2 kB / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3575, allocations: 0 / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005818/0.3581, allocations: 305.3 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3581, allocations: 8 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3581, allocations: 0 / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3581, allocations: 4 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3583, allocations: 31.86 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3583, allocations: 7.984 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/0.3584, allocations: 23.78 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3584, allocations: 8 kB / 440.5 MB, free: 14.1 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: 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 (29): * Single equations (assignments): 27 * 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.0001648/0.3586, allocations: 149.8 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3586, allocations: 15.91 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.3587, allocations: 21.39 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.3587, allocations: 12.02 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3587, allocations: 0 / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3587, allocations: 0 / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3589, allocations: 192.6 kB / 440.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3589, allocations: 0 / 440.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.359, allocations: 15.98 kB / 440.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.359, allocations: 0 / 440.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.359, allocations: 4 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.359, allocations: 3.938 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.359, allocations: 4 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3595, allocations: 246.5 kB / 441.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.3595, allocations: 19.84 kB / 441.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3596, allocations: 11.98 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.3596, allocations: 7.938 kB / 441.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3597, allocations: 15.97 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3597, allocations: 4.094 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.3599, allocations: 145.1 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3599, allocations: 0 / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.3604, allocations: 127.7 kB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.001603/0.362, allocations: 1.051 MB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.3625, allocations: 191.7 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3625, allocations: 0 / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3626, allocations: 59.91 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.3628, allocations: 8 kB / 442.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.366, allocations: 2.327 MB / 445.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3664, allocations: 0.7201 MB / 445.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.05e-05/0.3665, allocations: 21.42 kB / 445.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.3666, allocations: 43.42 kB / 445.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3666, allocations: 0 / 445.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.4025, allocations: 5.645 MB / 451.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.8, allocations: 15.19 kB / 451.5 MB, free: 2.93 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.388099728617817] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 8.873415734153241 8.891015029 8.536350248 Calling exit ...