Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00105/0.00105, allocations: 172.7 kB / 15.95 MB, free: 208 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.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0004804/0.0004806, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2628, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001903/0.2648, allocations: 1.51 MB / 328 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2668, allocations: 1.198 MB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.2669, allocations: 6.688 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.289e-05/0.267, allocations: 7.875 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.2671, allocations: 14.52 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.2679, allocations: 245.9 kB / 329.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2682, allocations: 194.1 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2684, allocations: 58.52 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2685, allocations: 75.62 kB / 329.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2686, allocations: 97.17 kB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.2687, allocations: 10.25 kB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.2692, allocations: 303.9 kB / 330.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.2693, allocations: 41.77 kB / 330.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.2694, allocations: 48.7 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.2698, allocations: 274.8 kB / 330.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.2698, allocations: 1.125 kB / 330.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2698, allocations: 0 / 330.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2698, allocations: 0 / 330.5 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001139/0.2709, allocations: 0.5681 MB / 331.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.271, allocations: 10.06 kB / 331.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2712, allocations: 29.52 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2715, allocations: 245.1 kB / 331.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.2716, allocations: 12.78 kB / 331.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.2716, allocations: 20.97 kB / 331.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.2721, allocations: 212.8 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2721, allocations: 0 / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2721, allocations: 5.938 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2722, allocations: 11.38 kB / 331.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.2726, allocations: 178.3 kB / 331.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.2736, allocations: 0.584 MB / 332.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2748, allocations: 385.2 kB / 332.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.2751, allocations: 130 kB / 332.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2751, allocations: 5.656 kB / 332.9 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.2755, allocations: 179.8 kB / 333.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.2755, allocations: 0 / 333.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001026/0.2766, allocations: 419.8 kB / 333.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2766, allocations: 59.34 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.2769, allocations: 211.8 kB / 333.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.2769, allocations: 33.7 kB / 333.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.277, allocations: 136.6 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.2771, allocations: 67.02 kB / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.2771, allocations: 8 kB / 334 MB, free: 11.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2772, allocations: 334.8 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.2775, allocations: 143.9 kB / 334.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2779, allocations: 186.2 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.2782, allocations: 153.2 kB / 334.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2782, allocations: 0 / 334.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007767/0.279, allocations: 408.3 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2791, allocations: 12.02 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2791, allocations: 0 / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2791, allocations: 4 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.2794, allocations: 75.89 kB / 335.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2794, allocations: 4 kB / 335.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2796, allocations: 59.59 kB / 335.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.2796, allocations: 12 kB / 335.4 MB, free: 10.35 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001504/0.2798, allocations: 142 kB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.2798, allocations: 23.67 kB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.2799, allocations: 33.8 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2799, allocations: 4 kB / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2799, allocations: 0 / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2799, allocations: 0 / 335.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.281, allocations: 0.6738 MB / 336.2 MB, free: 9.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.281, allocations: 0 / 336.2 MB, free: 9.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.2813, allocations: 51.97 kB / 336.3 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.2813, allocations: 0 / 336.3 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2813, allocations: 7.984 kB / 336.3 MB, free: 9.352 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2813, allocations: 8 kB / 336.3 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2813, allocations: 0 / 336.3 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.2823, allocations: 0.5455 MB / 336.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.2824, allocations: 100.8 kB / 336.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.2824, allocations: 8.062 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2826, allocations: 31.97 kB / 337 MB, free: 8.629 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.2827, allocations: 11.98 kB / 337 MB, free: 8.617 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2827, allocations: 7.984 kB / 337 MB, free: 8.609 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.2828, allocations: 147.2 kB / 337.1 MB, free: 8.465 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2828, allocations: 0 / 337.1 MB, free: 8.465 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.2833, allocations: 104 kB / 337.2 MB, free: 8.363 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006456/0.2839, allocations: 292.2 kB / 337.5 MB, free: 8.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.2847, allocations: 324 kB / 337.8 MB, free: 7.758 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2847, allocations: 4.062 kB / 337.8 MB, free: 7.754 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.285, allocations: 131.9 kB / 338 MB, free: 7.625 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2853, allocations: 27.94 kB / 338 MB, free: 7.598 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.2862, allocations: 0.5109 MB / 338.5 MB, free: 7.062 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2865, allocations: 0.7398 MB / 339.3 MB, free: 6.297 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.2866, allocations: 29.94 kB / 339.3 MB, free: 6.266 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.2867, allocations: 35.36 kB / 339.3 MB, free: 6.23 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2867, allocations: 0 / 339.3 MB, free: 6.23 MB / 270.1 MB Notification: Performance of Templates: time 0.007305/0.294, allocations: 3.507 MB / 342.8 MB, free: 2.719 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)