Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008127/0.0008127, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006465/0.006466, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.857/1.857, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0004388/0.0004388, allocations: 15.03 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 47.59 MB / 327 MB, free: 1.621 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001582/0.3587, allocations: 1.278 MB / 328.3 MB, free: 0.6016 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3616, allocations: 1.481 MB / 329.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3617, allocations: 5.25 kB / 329.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/0.3618, allocations: 7.938 kB / 329.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.3618, allocations: 18.62 kB / 329.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.3628, allocations: 320.8 kB / 330.1 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3629, allocations: 124.3 kB / 330.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.363, allocations: 7.906 kB / 330.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.3631, allocations: 50.19 kB / 330.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.3632, allocations: 68.86 kB / 330.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3632, allocations: 7 kB / 330.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.364, allocations: 452.5 kB / 330.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.3641, allocations: 39.33 kB / 330.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3642, allocations: 86.97 kB / 330.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.3648, allocations: 415.1 kB / 331.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3649, allocations: 0 / 331.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3649, allocations: 0 / 331.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3649, allocations: 1.031 kB / 331.4 MB, free: 14.49 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.0008316/0.3657, allocations: 0.4955 MB / 331.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3658, allocations: 8.938 kB / 331.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.366, allocations: 35.11 kB / 331.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3662, allocations: 208 kB / 332.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3663, allocations: 7.812 kB / 332.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3663, allocations: 10.52 kB / 332.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.3666, allocations: 135.8 kB / 332.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3666, allocations: 1.062 kB / 332.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3666, allocations: 9.578 kB / 332.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.3666, allocations: 0 / 332.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3669, allocations: 73.14 kB / 332.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.3677, allocations: 0.5517 MB / 332.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.3682, allocations: 172.4 kB / 333 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3683, allocations: 65.67 kB / 333.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.3683, allocations: 5.094 kB / 333.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.3687, allocations: 161.5 kB / 333.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.3687, allocations: 0 / 333.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.000675/0.3694, allocations: 263.7 kB / 333.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.3695, allocations: 112.1 kB / 333.6 MB, free: 12.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3698, allocations: 205.3 kB / 333.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.3699, allocations: 52.48 kB / 333.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.37, allocations: 106.4 kB / 334 MB, free: 12.22 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.37, allocations: 42.89 kB / 334 MB, free: 12.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3701, allocations: 37.89 kB / 334.1 MB, free: 12.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3702, allocations: 331.8 kB / 334.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3704, allocations: 107.8 kB / 334.5 MB, free: 11.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3707, allocations: 143.2 kB / 334.6 MB, free: 11.6 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.3711, allocations: 231.7 kB / 334.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3711, allocations: 4 kB / 334.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005231/0.3716, allocations: 317.2 kB / 335.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3716, allocations: 4 kB / 335.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3717, allocations: 0 / 335.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3717, allocations: 7.938 kB / 335.2 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3718, allocations: 36.08 kB / 335.2 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3719, allocations: 3.938 kB / 335.2 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.372, allocations: 35.72 kB / 335.3 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.372, allocations: 4 kB / 335.3 MB, free: 10.95 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.0001693/0.3722, allocations: 153.8 kB / 335.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3722, allocations: 11.81 kB / 335.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.3722, allocations: 21.39 kB / 335.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3723, allocations: 11.94 kB / 335.5 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3723, allocations: 3.938 kB / 335.5 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3723, allocations: 0 / 335.5 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3725, allocations: 217.5 kB / 335.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3725, allocations: 4 kB / 335.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3726, allocations: 11.98 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3726, allocations: 4 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3726, allocations: 0 / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3727, allocations: 4 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3727, allocations: 4 kB / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3731, allocations: 253.5 kB / 336 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.3732, allocations: 92.91 kB / 336 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.3732, allocations: 8 kB / 336.1 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.3733, allocations: 11.98 kB / 336.1 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3733, allocations: 11.98 kB / 336.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3734, allocations: 7.938 kB / 336.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3735, allocations: 141.2 kB / 336.2 MB, free: 9.898 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 336.2 MB, free: 9.898 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.3741, allocations: 135.9 kB / 336.4 MB, free: 9.766 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.0008496/0.3749, allocations: 337.3 kB / 336.7 MB, free: 9.434 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3754, allocations: 219.8 kB / 336.9 MB, free: 9.219 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3755, allocations: 0 / 336.9 MB, free: 9.219 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3756, allocations: 67.91 kB / 337 MB, free: 9.152 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3758, allocations: 12 kB / 337 MB, free: 9.141 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.3765, allocations: 315.3 kB / 337.3 MB, free: 8.801 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3769, allocations: 0.7201 MB / 338 MB, free: 8.055 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.377, allocations: 17.42 kB / 338 MB, free: 8.035 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.377, allocations: 19.38 kB / 338 MB, free: 8.016 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.377, allocations: 0 / 338 MB, free: 8.016 MB / 270.1 MB Notification: Performance of Templates: time 0.008596/0.3856, allocations: 3.472 MB / 341.5 MB, free: 4.539 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)