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.01026/0.01026, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.0026/0.0026, allocations: 195.2 kB / 16.67 MB, free: 6.352 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.742/1.742, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.002037/0.002037, allocations: 51.3 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1398, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00387/0.1437, allocations: 1.527 MB / 374.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.1467, allocations: 1.453 MB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1469, allocations: 3.938 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1471, allocations: 11.86 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1473, allocations: 19.8 kB / 376.2 MB, free: 14.27 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.001913/0.1492, allocations: 394.8 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.1495, allocations: 139.5 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.1497, allocations: 9.484 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1498, allocations: 59.72 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.15, allocations: 67.67 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.1501, allocations: 12 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1513, allocations: 423.3 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1514, allocations: 35.91 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1516, allocations: 71.53 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1529, allocations: 410.7 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1529, allocations: 3.938 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1529, allocations: 0 / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1529, allocations: 4 kB / 377.8 MB, free: 12.67 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.00106/0.154, allocations: 0.5174 MB / 378.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.154, allocations: 8.031 kB / 378.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.1543, allocations: 40.83 kB / 378.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1546, allocations: 208.9 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.1546, allocations: 4.375 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1546, allocations: 12.31 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.155, allocations: 124.5 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.155, allocations: 0 / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.155, allocations: 8 kB / 378.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.155, allocations: 0 / 378.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.1552, allocations: 63.89 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.1563, allocations: 0.5516 MB / 379.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.1567, allocations: 147.8 kB / 379.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1569, allocations: 70.48 kB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1569, allocations: 0 / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.1573, allocations: 150 kB / 379.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.1573, allocations: 7.938 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006723/0.158, allocations: 249.4 kB / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.1581, allocations: 118.8 kB / 380 MB, free: 10.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1583, allocations: 191.1 kB / 380.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.1584, allocations: 49.69 kB / 380.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1584, allocations: 116.6 kB / 380.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1585, allocations: 39.73 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1586, allocations: 65.64 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1587, allocations: 338.8 kB / 380.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.159, allocations: 91.95 kB / 380.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1592, allocations: 151 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.1596, allocations: 227.8 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1596, allocations: 0 / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005435/0.1602, allocations: 317.3 kB / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1602, allocations: 7.906 kB / 381.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1602, allocations: 4.469 kB / 381.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1602, allocations: 0 / 381.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1605, allocations: 31.92 kB / 381.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1605, allocations: 0 / 381.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1606, allocations: 31.77 kB / 381.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.1606, allocations: 15.94 kB / 381.7 MB, free: 8.453 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.0001608/0.1608, allocations: 154 kB / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1608, allocations: 15.91 kB / 381.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1609, allocations: 21.39 kB / 381.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1609, allocations: 0 / 381.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1609, allocations: 4 kB / 381.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1609, allocations: 0 / 381.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.1612, allocations: 217.4 kB / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1612, allocations: 0 / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.1613, allocations: 11.98 kB / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1613, allocations: 8 kB / 382.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1613, allocations: 4 kB / 382.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1613, allocations: 4 kB / 382.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.1613, allocations: 7.984 kB / 382.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.1618, allocations: 238.5 kB / 382.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.1619, allocations: 93 kB / 382.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1619, allocations: 12 kB / 382.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.761e-05/0.162, allocations: 7.984 kB / 382.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1621, allocations: 15.98 kB / 382.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1621, allocations: 3.938 kB / 382.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1622, allocations: 145.2 kB / 382.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 0 / 382.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.1628, allocations: 123.6 kB / 382.7 MB, free: 7.285 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.0009766/0.1638, allocations: 357.8 kB / 383.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1643, allocations: 199.8 kB / 383.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1644, allocations: 0 / 383.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1645, allocations: 72.16 kB / 383.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1648, allocations: 15.91 kB / 383.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.1653, allocations: 276.9 kB / 383.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1656, allocations: 0.7161 MB / 384.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.36e-05/0.1657, allocations: 25.59 kB / 384.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.1658, allocations: 23.36 kB / 384.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1658, allocations: 0 / 384.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of Templates: time 0.008495/0.1743, allocations: 3.635 MB / 388 MB, free: 1.914 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)