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.001353/0.001353, allocations: 112.5 kB / 16.62 MB, free: 6.812 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.00113/0.00113, allocations: 186 kB / 17.55 MB, free: 5.934 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.587/1.587, allocations: 205.1 MB / 223.4 MB, free: 12.35 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.001176/0.001176, allocations: 44.41 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 46.64 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002815/0.1158, allocations: 1.607 MB / 327.7 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1184, allocations: 1.462 MB / 329.2 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.1185, allocations: 0 / 329.2 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1187, allocations: 11.92 kB / 329.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.671e-05/0.1188, allocations: 15.86 kB / 329.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1199, allocations: 351.2 kB / 329.6 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1201, allocations: 131.6 kB / 329.7 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.1202, allocations: 17.48 kB / 329.7 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.1203, allocations: 55.77 kB / 329.8 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.1203, allocations: 71.62 kB / 329.9 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1204, allocations: 12 kB / 329.9 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.121, allocations: 451.1 kB / 330.3 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1211, allocations: 43.83 kB / 330.3 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.1212, allocations: 59.61 kB / 330.4 MB, free: 492 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.1217, allocations: 427.2 kB / 330.8 MB, free: 64 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1217, allocations: 4 kB / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1217, allocations: 0 / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1217, allocations: 0 / 330.8 MB, free: 60 kB / 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.0008576/0.1226, allocations: 0.5104 MB / 331.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1226, allocations: 11.97 kB / 331.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.1229, allocations: 32.64 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1231, allocations: 204.8 kB / 331.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1231, allocations: 16.36 kB / 331.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1231, allocations: 4.375 kB / 331.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.1234, allocations: 136.4 kB / 331.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1234, allocations: 0 / 331.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1235, allocations: 4 kB / 331.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1235, allocations: 3.984 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.1237, allocations: 67.89 kB / 331.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.1245, allocations: 0.536 MB / 332.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1248, allocations: 159.8 kB / 332.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.125, allocations: 62.55 kB / 332.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.125, allocations: 4 kB / 332.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.1254, allocations: 157.1 kB / 332.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.1254, allocations: 0 / 332.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005757/0.126, allocations: 253.3 kB / 333 MB, free: 13.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.1261, allocations: 114.8 kB / 333.1 MB, free: 13.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1263, allocations: 202.8 kB / 333.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.1264, allocations: 41.7 kB / 333.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.1265, allocations: 116.5 kB / 333.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.1265, allocations: 39.48 kB / 333.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.1266, allocations: 65.69 kB / 333.5 MB, free: 13.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1267, allocations: 342.9 kB / 333.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1269, allocations: 95.95 kB / 334 MB, free: 12.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1271, allocations: 139.2 kB / 334.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1275, allocations: 227.7 kB / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1275, allocations: 3.938 kB / 334.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004992/0.128, allocations: 309.2 kB / 334.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.128, allocations: 4 kB / 334.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1281, allocations: 8.094 kB / 334.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1281, allocations: 0 / 334.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1282, allocations: 35.92 kB / 334.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.1283, allocations: 3.984 kB / 334.7 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.1283, allocations: 15.84 kB / 334.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1284, allocations: 12 kB / 334.7 MB, free: 11.87 MB / 286.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.0001341/0.1285, allocations: 145.7 kB / 334.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1285, allocations: 23.81 kB / 334.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.1286, allocations: 17.39 kB / 334.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1286, allocations: 0 / 334.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1286, allocations: 4 kB / 334.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1286, allocations: 0 / 334.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.1288, allocations: 217.4 kB / 335.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1288, allocations: 3.938 kB / 335.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.1289, allocations: 15.92 kB / 335.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1289, allocations: 8 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1289, allocations: 0 / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1289, allocations: 4 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1289, allocations: 4 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1293, allocations: 234.5 kB / 335.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1294, allocations: 96.86 kB / 335.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1294, allocations: 19.92 kB / 335.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.1295, allocations: 4 kB / 335.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.1296, allocations: 20.06 kB / 335.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1296, allocations: 7.922 kB / 335.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1297, allocations: 141.2 kB / 335.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1297, allocations: 0 / 335.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1302, allocations: 124 kB / 335.8 MB, free: 10.7 MB / 286.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.0007658/0.1309, allocations: 346 kB / 336.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.1314, allocations: 211.7 kB / 336.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1314, allocations: 4 kB / 336.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1316, allocations: 63.91 kB / 336.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.1318, allocations: 11.98 kB / 336.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.1323, allocations: 325.2 kB / 336.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.1326, allocations: 0.7123 MB / 337.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.1327, allocations: 25.41 kB / 337.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1327, allocations: 15.44 kB / 337.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1327, allocations: 0 / 337.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of Templates: time 0.007217/0.14, allocations: 3.566 MB / 341 MB, free: 5.375 MB / 286.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)