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.0009546/0.0009544, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.00109/0.00109, allocations: 176.7 kB / 15.96 MB, free: 196 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.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0008023/0.0008024, allocations: 16 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4268, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001752/0.4286, allocations: 1.255 MB / 327.7 MB, free: 412 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.4312, allocations: 1.365 MB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.4313, allocations: 0.9375 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.4314, allocations: 7.875 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.4315, allocations: 18.36 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4326, allocations: 315.6 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4328, allocations: 116 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.4328, allocations: 16.48 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.4329, allocations: 54.08 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/0.433, allocations: 57.19 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.433, allocations: 11.25 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.4338, allocations: 445.4 kB / 330.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.4339, allocations: 39.53 kB / 330.1 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.434, allocations: 41.61 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.4344, allocations: 285.8 kB / 330.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4345, allocations: 0 / 330.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4345, allocations: 0 / 330.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4345, allocations: 4 kB / 330.5 MB, free: 14.52 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.0008459/0.4353, allocations: 0.4933 MB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4354, allocations: 9.656 kB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.4357, allocations: 29.8 kB / 331 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4359, allocations: 199.1 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.436, allocations: 3.125 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.436, allocations: 17.98 kB / 331.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.4364, allocations: 127.4 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4364, allocations: 0 / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4364, allocations: 0.9688 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4364, allocations: 2.188 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.4367, allocations: 72.3 kB / 331.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.4376, allocations: 0.5593 MB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.4381, allocations: 163.7 kB / 332.1 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4382, allocations: 74.11 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4383, allocations: 1.125 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.4386, allocations: 156.7 kB / 332.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.4386, allocations: 4 kB / 332.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006742/0.4393, allocations: 266.7 kB / 332.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4394, allocations: 123.7 kB / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4397, allocations: 204.6 kB / 332.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.4397, allocations: 47.72 kB / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.4398, allocations: 111.2 kB / 333.1 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.4399, allocations: 43.14 kB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.4399, allocations: 5.062 kB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4401, allocations: 335.3 kB / 333.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.4403, allocations: 108.8 kB / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.4406, allocations: 143.6 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.4408, allocations: 119.1 kB / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4409, allocations: 5.672 kB / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005754/0.4414, allocations: 306.2 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4415, allocations: 8.562 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4415, allocations: 4 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4415, allocations: 8.031 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4417, allocations: 32.06 kB / 334.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4417, allocations: 7.938 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.4418, allocations: 19.84 kB / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.4419, allocations: 11.98 kB / 334.2 MB, free: 11.47 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.0001628/0.442, allocations: 153.8 kB / 334.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.4421, allocations: 19.8 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.4421, allocations: 13.41 kB / 334.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4421, allocations: 3.938 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4421, allocations: 4 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4421, allocations: 3.938 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.4424, allocations: 221.4 kB / 334.6 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4424, allocations: 0 / 334.6 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.4425, allocations: 15.98 kB / 334.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4425, allocations: 0 / 334.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.4425, allocations: 8 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4425, allocations: 0 / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4425, allocations: 4 kB / 334.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.443, allocations: 254.4 kB / 334.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.443, allocations: 88.92 kB / 335 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.4431, allocations: 15.98 kB / 335 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.4431, allocations: 8 kB / 335 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.4432, allocations: 15.97 kB / 335 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4432, allocations: 4 kB / 335 MB, free: 10.55 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.4434, allocations: 137.2 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4434, allocations: 4 kB / 335.2 MB, free: 10.41 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006167/0.444, allocations: 127.9 kB / 335.3 MB, free: 10.29 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.0008866/0.4449, allocations: 345 kB / 335.6 MB, free: 9.949 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.4454, allocations: 207.8 kB / 335.8 MB, free: 9.746 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4454, allocations: 0 / 335.8 MB, free: 9.746 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4455, allocations: 71.89 kB / 335.9 MB, free: 9.676 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.4458, allocations: 16.08 kB / 335.9 MB, free: 9.66 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.4463, allocations: 303.8 kB / 336.2 MB, free: 9.332 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.4467, allocations: 0.7162 MB / 336.9 MB, free: 8.59 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.126e-05/0.4467, allocations: 29.38 kB / 337 MB, free: 8.559 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.4468, allocations: 15.44 kB / 337 MB, free: 8.543 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4468, allocations: 0 / 337 MB, free: 8.543 MB / 270.1 MB Notification: Performance of Templates: time 0.009175/0.456, allocations: 3.432 MB / 340.4 MB, free: 5.105 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)