Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00669/0.00669, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001213/0.001213, allocations: 190.6 kB / 16.67 MB, free: 5.949 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.823/1.823, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.002007/0.002007, allocations: 51.45 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.151, allocations: 46.63 MB / 373.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003885/0.155, allocations: 1.511 MB / 374.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.158, allocations: 1.453 MB / 376.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1582, allocations: 7.938 kB / 376.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1584, allocations: 11.86 kB / 376.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1585, allocations: 19.8 kB / 376.2 MB, free: 14.38 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.001798/0.1603, allocations: 394.8 kB / 376.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1605, allocations: 139.5 kB / 376.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.1606, allocations: 13.48 kB / 376.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1607, allocations: 59.72 kB / 376.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.1608, allocations: 67.67 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1609, allocations: 12 kB / 376.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1619, allocations: 423.2 kB / 377.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.162, allocations: 35.91 kB / 377.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.1621, allocations: 63.53 kB / 377.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1632, allocations: 415 kB / 377.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1633, allocations: 0 / 377.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1633, allocations: 4 kB / 377.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1633, allocations: 0 / 377.8 MB, free: 12.78 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.001092/0.1644, allocations: 0.5065 MB / 378.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.1645, allocations: 12.03 kB / 378.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.1648, allocations: 28.73 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1651, allocations: 208.9 kB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1651, allocations: 8.375 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1652, allocations: 12.31 kB / 378.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1655, allocations: 133.5 kB / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1655, allocations: 0 / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1655, allocations: 0 / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1655, allocations: 4 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.1657, allocations: 63.89 kB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.1666, allocations: 0.5516 MB / 379.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.167, allocations: 147.7 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.1671, allocations: 66.55 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1672, allocations: 4 kB / 379.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.1676, allocations: 150 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1676, allocations: 0 / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006572/0.1682, allocations: 253.4 kB / 379.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.1684, allocations: 122.8 kB / 380 MB, free: 10.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1686, allocations: 199 kB / 380.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.1686, allocations: 49.69 kB / 380.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.1687, allocations: 108.5 kB / 380.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.1688, allocations: 43.45 kB / 380.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.1689, allocations: 57.69 kB / 380.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1691, allocations: 338.8 kB / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1693, allocations: 99.95 kB / 380.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1695, allocations: 147 kB / 381 MB, free: 9.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1699, allocations: 227.8 kB / 381.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1699, allocations: 4 kB / 381.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005463/0.1705, allocations: 317.1 kB / 381.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1705, allocations: 7.906 kB / 381.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1705, allocations: 0 / 381.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1705, allocations: 4 kB / 381.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1707, allocations: 36.02 kB / 381.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1707, allocations: 0 / 381.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.1708, allocations: 27.73 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1708, allocations: 8 kB / 381.7 MB, free: 8.578 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.0001526/0.171, allocations: 149.9 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.171, allocations: 15.81 kB / 381.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.1711, allocations: 21.33 kB / 381.8 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1711, allocations: 4 kB / 381.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1711, allocations: 0 / 381.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1711, allocations: 4 kB / 381.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1713, allocations: 217.5 kB / 382.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1713, allocations: 0 / 382.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.1714, allocations: 11.98 kB / 382.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1714, allocations: 0 / 382.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1714, allocations: 4 kB / 382.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1714, allocations: 0 / 382.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1714, allocations: 4 kB / 382.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.1719, allocations: 246.4 kB / 382.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.172, allocations: 92.91 kB / 382.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.172, allocations: 12 kB / 382.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1721, allocations: 7.984 kB / 382.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.1722, allocations: 15.98 kB / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1722, allocations: 7.938 kB / 382.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1724, allocations: 137.2 kB / 382.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1724, allocations: 0 / 382.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.173, allocations: 128 kB / 382.7 MB, free: 7.418 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.0008889/0.1739, allocations: 362.7 kB / 383.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1744, allocations: 203.8 kB / 383.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1744, allocations: 3.938 kB / 383.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1746, allocations: 63.91 kB / 383.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.1748, allocations: 15.91 kB / 383.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.1755, allocations: 277.5 kB / 383.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1758, allocations: 0.7238 MB / 384.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1759, allocations: 17.42 kB / 384.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.176, allocations: 27.36 kB / 384.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.176, allocations: 0 / 384.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of Templates: time 0.008006/0.184, allocations: 3.632 MB / 388 MB, free: 2.043 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)