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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001337/0.001337, allocations: 191.6 kB / 16.14 MB, free: 6.707 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.996 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.001172/0.001172, allocations: 55.92 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2444, allocations: 46.62 MB / 324.7 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002773/0.2472, allocations: 1.611 MB / 326.3 MB, free: 0.5742 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2497, allocations: 1.518 MB / 327.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2497, allocations: 3.5 kB / 327.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2499, allocations: 11.86 kB / 327.8 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.25, allocations: 11.88 kB / 327.8 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009061/0.2509, allocations: 317.8 kB / 328.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2511, allocations: 129.2 kB / 328.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.2511, allocations: 14.98 kB / 328.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.2512, allocations: 54.98 kB / 328.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.2513, allocations: 64.67 kB / 328.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2513, allocations: 7.156 kB / 328.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.252, allocations: 456.1 kB / 328.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.2521, allocations: 40.39 kB / 328.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.2522, allocations: 52.98 kB / 328.9 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.2528, allocations: 421.7 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2528, allocations: 1.281 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2528, allocations: 3.938 kB / 329.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2528, allocations: 0 / 329.4 MB, free: 14.45 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.0008517/0.2537, allocations: 0.5141 MB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2537, allocations: 10.12 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.254, allocations: 33.55 kB / 329.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2542, allocations: 207.8 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2542, allocations: 8.75 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.2542, allocations: 6.156 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.2545, allocations: 128.4 kB / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2545, allocations: 0 / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2545, allocations: 1.094 kB / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2545, allocations: 5.125 kB / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2548, allocations: 65.73 kB / 330.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.2556, allocations: 0.5525 MB / 330.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.2559, allocations: 151.5 kB / 331 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2561, allocations: 66.7 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2561, allocations: 0.9062 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.2565, allocations: 155.8 kB / 331.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.2565, allocations: 4 kB / 331.3 MB, free: 12.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006733/0.2572, allocations: 249.3 kB / 331.5 MB, free: 12.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.2573, allocations: 114.7 kB / 331.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2575, allocations: 202 kB / 331.8 MB, free: 12.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.2575, allocations: 48.56 kB / 331.9 MB, free: 12.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.2576, allocations: 106.2 kB / 332 MB, free: 12.19 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.2577, allocations: 51.47 kB / 332 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.2578, allocations: 61.75 kB / 332.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.258, allocations: 330.6 kB / 332.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.2582, allocations: 101.7 kB / 332.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2585, allocations: 141.4 kB / 332.6 MB, free: 11.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.2589, allocations: 228.5 kB / 332.8 MB, free: 11.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.2589, allocations: 1.094 kB / 332.8 MB, free: 11.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005669/0.2595, allocations: 305.9 kB / 333.1 MB, free: 11.37 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2595, allocations: 5.406 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2595, allocations: 1.188 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2596, allocations: 1.344 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2597, allocations: 40.19 kB / 333.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2598, allocations: 7.938 kB / 333.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.099e-05/0.2598, allocations: 15.84 kB / 333.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2599, allocations: 11.98 kB / 333.2 MB, free: 11.32 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.0001442/0.26, allocations: 161.8 kB / 333.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.2601, allocations: 15.81 kB / 333.4 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.2601, allocations: 13.41 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2601, allocations: 4 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2601, allocations: 0 / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2601, allocations: 0 / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2603, allocations: 221.4 kB / 333.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2604, allocations: 3.984 kB / 333.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.2604, allocations: 12 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2604, allocations: 8 kB / 333.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2605, allocations: 7.922 kB / 333.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2605, allocations: 4 kB / 333.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2605, allocations: 0 / 333.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.2609, allocations: 242.5 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.2609, allocations: 92.86 kB / 334 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.261, allocations: 11.98 kB / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.2611, allocations: 11.98 kB / 334 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.2611, allocations: 11.98 kB / 334 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2612, allocations: 7.938 kB / 334 MB, free: 10.4 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2613, allocations: 141.2 kB / 334.2 MB, free: 10.27 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2613, allocations: 0 / 334.2 MB, free: 10.27 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005865/0.2619, allocations: 120 kB / 334.3 MB, free: 10.15 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.0008781/0.2628, allocations: 345.4 kB / 334.6 MB, free: 9.809 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.2632, allocations: 199.8 kB / 334.8 MB, free: 9.613 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2633, allocations: 0 / 334.8 MB, free: 9.613 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2634, allocations: 76.14 kB / 334.9 MB, free: 9.539 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2637, allocations: 8 kB / 334.9 MB, free: 9.531 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.2642, allocations: 329.5 kB / 335.2 MB, free: 9.176 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2646, allocations: 0.7123 MB / 335.9 MB, free: 8.438 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.355e-05/0.2647, allocations: 25.55 kB / 336 MB, free: 8.41 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2647, allocations: 15.44 kB / 336 MB, free: 8.395 MB / 270.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2647, allocations: 0 / 336 MB, free: 8.395 MB / 270.1 MB Notification: Performance of Templates: time 0.007488/0.2722, allocations: 3.496 MB / 339.5 MB, free: 4.895 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)