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.0008161/0.000816, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000926/0.000926, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.000438/0.000438, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001317/0.2272, allocations: 1.251 MB / 327.7 MB, free: 408 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2292, allocations: 1.365 MB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.2293, allocations: 0 / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.406e-05/0.2294, allocations: 5.25 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.2295, allocations: 25.97 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.2303, allocations: 307.2 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2304, allocations: 116.6 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.2305, allocations: 11.45 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.2305, allocations: 46.81 kB / 329.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.2306, allocations: 64.56 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2307, allocations: 7 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.2313, allocations: 450.7 kB / 330.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.2314, allocations: 31.2 kB / 330.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.2315, allocations: 49.33 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.2318, allocations: 277.3 kB / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2318, allocations: 0 / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2319, allocations: 1.219 kB / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.2319, allocations: 4 kB / 330.5 MB, free: 14.54 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.0006773/0.2326, allocations: 0.4891 MB / 330.9 MB, free: 14.06 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2326, allocations: 9.156 kB / 331 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.2328, allocations: 33.84 kB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.233, allocations: 198.6 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.233, allocations: 8.156 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2331, allocations: 16.86 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2333, allocations: 131.9 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2334, allocations: 0.9375 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2334, allocations: 5.375 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2334, allocations: 1.25 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.2336, allocations: 75.14 kB / 331.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/0.2343, allocations: 0.5612 MB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.2347, allocations: 159.1 kB / 332.1 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2349, allocations: 82.39 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2349, allocations: 1.344 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.2353, allocations: 155.6 kB / 332.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.2353, allocations: 7.938 kB / 332.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009/0.2362, allocations: 267.3 kB / 332.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2364, allocations: 119 kB / 332.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.2367, allocations: 200.5 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.2368, allocations: 49.16 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2369, allocations: 106.4 kB / 333.1 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.2369, allocations: 46.88 kB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.237, allocations: 5.125 kB / 333.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2372, allocations: 331.5 kB / 333.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2375, allocations: 112.9 kB / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2379, allocations: 143.6 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.2382, allocations: 120 kB / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2383, allocations: 0 / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008639/0.2391, allocations: 314.3 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2392, allocations: 4 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2392, allocations: 0 / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2392, allocations: 8.094 kB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2395, allocations: 35.92 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2395, allocations: 3.984 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2397, allocations: 23.84 kB / 334.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2397, allocations: 4 kB / 334.2 MB, free: 11.42 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.2399, allocations: 157.8 kB / 334.4 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.24, allocations: 19.8 kB / 334.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.24, allocations: 13.39 kB / 334.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.24, allocations: 4 kB / 334.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.24, allocations: 0 / 334.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2401, allocations: 0 / 334.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.2404, allocations: 229.4 kB / 334.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2404, allocations: 0 / 334.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.2405, allocations: 11.98 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2405, allocations: 4 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2405, allocations: 4 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2405, allocations: 0 / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2406, allocations: 7.938 kB / 334.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.2412, allocations: 253.2 kB / 334.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.2413, allocations: 88.92 kB / 335 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.2414, allocations: 11.98 kB / 335 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2415, allocations: 8 kB / 335 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.2416, allocations: 15.97 kB / 335 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2416, allocations: 12.03 kB / 335.1 MB, free: 10.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.2418, allocations: 141.1 kB / 335.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2418, allocations: 7.938 kB / 335.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0008882/0.2427, allocations: 127.9 kB / 335.3 MB, free: 10.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.2439, allocations: 337 kB / 335.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.2446, allocations: 203.8 kB / 335.9 MB, free: 9.699 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2446, allocations: 0 / 335.9 MB, free: 9.699 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.2449, allocations: 75.89 kB / 335.9 MB, free: 9.625 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2452, allocations: 12.14 kB / 335.9 MB, free: 9.613 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.246, allocations: 307.3 kB / 336.2 MB, free: 9.281 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2464, allocations: 0.7201 MB / 337 MB, free: 8.535 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.2465, allocations: 25.39 kB / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.2466, allocations: 15.44 kB / 337 MB, free: 8.492 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2466, allocations: 0 / 337 MB, free: 8.492 MB / 270.1 MB Notification: Performance of Templates: time 0.01085/0.2574, allocations: 3.432 MB / 340.4 MB, free: 5.055 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)