Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 109.5 kB / 17.06 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002001, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00336/0.1664, allocations: 1.518 MB / 376 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.169, allocations: 1.45 MB / 377.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1691, allocations: 7.938 kB / 377.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1693, allocations: 15.81 kB / 377.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1694, allocations: 19.8 kB / 377.5 MB, free: 1.531 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1706, allocations: 390.8 kB / 377.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1707, allocations: 135.6 kB / 378 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1708, allocations: 13.5 kB / 378 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.1709, allocations: 59.75 kB / 378.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.171, allocations: 67.62 kB / 378.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.171, allocations: 12 kB / 378.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006129/0.1716, allocations: 419.3 kB / 378.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1717, allocations: 35.84 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.1718, allocations: 67.58 kB / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2705/0.4423, allocations: 409.8 kB / 379.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4424, allocations: 0 / 379.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4424, allocations: 0.7031 kB / 379.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.4424, allocations: 2.344 kB / 379.1 MB, free: 10.09 MB / 318.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.0009842/0.4434, allocations: 0.518 MB / 379.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4435, allocations: 10.28 kB / 379.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.4437, allocations: 29.41 kB / 379.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4439, allocations: 205.5 kB / 379.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4439, allocations: 8.531 kB / 379.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.444, allocations: 9.219 kB / 379.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.4442, allocations: 132.7 kB / 380 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4443, allocations: 5.312 kB / 380 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4443, allocations: 0.7969 kB / 380 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4443, allocations: 1.375 kB / 380 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.4445, allocations: 67.02 kB / 380.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.4453, allocations: 0.5449 MB / 380.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.4456, allocations: 151.8 kB / 380.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4457, allocations: 64.7 kB / 380.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.4458, allocations: 5.203 kB / 380.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.4461, allocations: 152.4 kB / 381 MB, free: 8.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.225e-06/0.4461, allocations: 0.7812 kB / 381 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00064/0.4468, allocations: 260.7 kB / 381.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.4468, allocations: 117.3 kB / 381.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.447, allocations: 199.6 kB / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.4471, allocations: 45.89 kB / 381.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.4472, allocations: 109.5 kB / 381.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.4472, allocations: 44.69 kB / 381.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.4473, allocations: 56.67 kB / 381.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.4474, allocations: 338.9 kB / 382.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.4477, allocations: 100.3 kB / 382.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4479, allocations: 145.7 kB / 382.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.4484, allocations: 229.6 kB / 382.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4484, allocations: 0.5625 kB / 382.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006658/0.4491, allocations: 309.9 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4491, allocations: 6.125 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4492, allocations: 1.812 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.4492, allocations: 2.906 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4494, allocations: 31.19 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4494, allocations: 3.469 kB / 382.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.4495, allocations: 24.62 kB / 382.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.4495, allocations: 18.66 kB / 383 MB, free: 7.93 MB / 318.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,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],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]) * 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.0001384/0.4497, allocations: 150.7 kB / 383.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.4497, allocations: 18.3 kB / 383.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.4497, allocations: 14.33 kB / 383.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4498, allocations: 4.141 kB / 383.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4498, allocations: 1.125 kB / 383.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4498, allocations: 2.094 kB / 383.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.45, allocations: 226.1 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.45, allocations: 1.25 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.4501, allocations: 14.72 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.4501, allocations: 2.25 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4501, allocations: 3.312 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4501, allocations: 1.188 kB / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4501, allocations: 0 / 383.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.4505, allocations: 247.1 kB / 383.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.4505, allocations: 98.27 kB / 383.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.4506, allocations: 8.594 kB / 383.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.4506, allocations: 9.766 kB / 383.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.4507, allocations: 11.05 kB / 383.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4507, allocations: 7.797 kB / 383.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4508, allocations: 146.2 kB / 383.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4509, allocations: 0 / 383.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.4514, allocations: 126.7 kB / 384 MB, free: 7.289 MB / 318.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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * 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 (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.0007619/0.4521, allocations: 354.8 kB / 384.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.4526, allocations: 198 kB / 384.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4526, allocations: 4.188 kB / 384.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4528, allocations: 67.42 kB / 384.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.453, allocations: 12.17 kB / 384.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.4536, allocations: 281.4 kB / 384.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.4538, allocations: 0.7259 MB / 385.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.707e-05/0.4539, allocations: 20.25 kB / 385.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.4539, allocations: 18 kB / 385.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4539, allocations: 3.562 kB / 385.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of Templates: time 0.009379/0.4633, allocations: 3.639 MB / 389.3 MB, free: 5.902 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)