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.0007757/0.0007756, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005718/0.005718, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0005056/0.0005057, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3256, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002291/0.3279, allocations: 1.27 MB / 328.3 MB, free: 416 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.3314, allocations: 1.485 MB / 329.8 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3317, allocations: 1.5 kB / 329.8 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3318, allocations: 7.922 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.332, allocations: 14.22 kB / 329.8 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3336, allocations: 329.3 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3339, allocations: 124.6 kB / 330.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.334, allocations: 7.281 kB / 330.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3341, allocations: 50.67 kB / 330.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3343, allocations: 73.17 kB / 330.4 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.3343, allocations: 6.625 kB / 330.4 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.3356, allocations: 452.6 kB / 330.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3358, allocations: 35.52 kB / 330.9 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3359, allocations: 86.52 kB / 330.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.3371, allocations: 410.7 kB / 331.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3371, allocations: 0 / 331.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3371, allocations: 0.9375 kB / 331.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3371, allocations: 0 / 331.3 MB, free: 14.3 MB / 270.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.001293/0.3384, allocations: 0.496 MB / 331.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.074e-05/0.3385, allocations: 9.594 kB / 331.9 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.3389, allocations: 33.84 kB / 331.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3393, allocations: 204.4 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.3393, allocations: 3.719 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.3394, allocations: 14.52 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3398, allocations: 136.5 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3398, allocations: 3.938 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3398, allocations: 4.781 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.3398, allocations: 2.094 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.3401, allocations: 72.09 kB / 332.3 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3412, allocations: 0.56 MB / 332.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.3417, allocations: 171.9 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3419, allocations: 66.36 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3419, allocations: 5.125 kB / 333.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.3424, allocations: 152.8 kB / 333.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.3424, allocations: 0 / 333.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008066/0.3432, allocations: 264.7 kB / 333.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3433, allocations: 118.5 kB / 333.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3437, allocations: 206.3 kB / 333.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3437, allocations: 44.7 kB / 333.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3439, allocations: 106.1 kB / 334 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.3439, allocations: 47.34 kB / 334 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.344, allocations: 42.06 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3442, allocations: 331.1 kB / 334.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3445, allocations: 106 kB / 334.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.3448, allocations: 153.7 kB / 334.7 MB, free: 11.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.3452, allocations: 231.7 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3453, allocations: 0 / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006104/0.3459, allocations: 305.3 kB / 335.2 MB, free: 10.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.3459, allocations: 12.09 kB / 335.2 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3459, allocations: 3.938 kB / 335.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.346, allocations: 7.984 kB / 335.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3462, allocations: 35.92 kB / 335.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3462, allocations: 0 / 335.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3463, allocations: 23.73 kB / 335.3 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.3464, allocations: 12 kB / 335.3 MB, free: 10.79 MB / 270.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.0001976/0.3466, allocations: 153.8 kB / 335.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3466, allocations: 23.8 kB / 335.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3466, allocations: 13.41 kB / 335.5 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3467, allocations: 4 kB / 335.5 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3467, allocations: 0 / 335.5 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3467, allocations: 3.984 kB / 335.5 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.347, allocations: 221.5 kB / 335.7 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.347, allocations: 4 kB / 335.7 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3471, allocations: 12 kB / 335.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3471, allocations: 0 / 335.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3471, allocations: 11.92 kB / 335.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3471, allocations: 0 / 335.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3471, allocations: 0 / 335.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3475, allocations: 253.2 kB / 336 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.3476, allocations: 100.8 kB / 336.1 MB, free: 9.902 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3476, allocations: 8 kB / 336.1 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3477, allocations: 7.984 kB / 336.1 MB, free: 9.887 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3478, allocations: 19.92 kB / 336.1 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3479, allocations: 11.94 kB / 336.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.348, allocations: 141.2 kB / 336.2 MB, free: 9.719 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.348, allocations: 0 / 336.2 MB, free: 9.719 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006721/0.3487, allocations: 119.9 kB / 336.4 MB, free: 9.602 MB / 270.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.0009311/0.3496, allocations: 349.7 kB / 336.7 MB, free: 9.258 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.3502, allocations: 211.7 kB / 336.9 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3502, allocations: 0 / 336.9 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3504, allocations: 67.97 kB / 337 MB, free: 8.984 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3507, allocations: 8 kB / 337 MB, free: 8.977 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.3514, allocations: 323.3 kB / 337.3 MB, free: 8.629 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.3518, allocations: 0.7162 MB / 338 MB, free: 7.887 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.3519, allocations: 25.34 kB / 338 MB, free: 7.859 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.3519, allocations: 15.44 kB / 338 MB, free: 7.844 MB / 270.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3519, allocations: 0 / 338 MB, free: 7.844 MB / 270.1 MB Notification: Performance of Templates: time 0.008599/0.3605, allocations: 3.468 MB / 341.5 MB, free: 4.371 MB / 270.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)