Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008961, allocations: 86.41 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.0009159/0.0009158, 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.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004535/0.0004538, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2667, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001432/0.2682, allocations: 1.204 MB / 327.7 MB, free: 0.6562 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.2691, allocations: 0.5402 MB / 328.2 MB, free: 248 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.2692, allocations: 1.156 kB / 328.2 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.2693, allocations: 3.938 kB / 328.2 MB, free: 244 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.2694, allocations: 26.22 kB / 328.3 MB, free: 220 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.2698, allocations: 120.7 kB / 328.4 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.27, allocations: 101.6 kB / 328.5 MB, free: 76 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.27, allocations: 9.562 kB / 328.5 MB, free: 72 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.2701, allocations: 39.94 kB / 328.5 MB, free: 48 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.2702, allocations: 55.03 kB / 328.6 MB, free: 8 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2702, allocations: 5.438 kB / 328.6 MB, free: 8 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.2705, allocations: 111.8 kB / 328.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.2705, allocations: 26.66 kB / 328.7 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.2706, allocations: 45.75 kB / 328.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2708, allocations: 150.3 kB / 328.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2708, allocations: 3.938 kB / 328.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2708, allocations: 0 / 328.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2708, allocations: 4 kB / 328.9 MB, free: 15.79 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006377/0.2715, allocations: 442.9 kB / 329.3 MB, free: 15.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2715, allocations: 9.438 kB / 329.4 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.2718, allocations: 36.34 kB / 329.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.272, allocations: 194.2 kB / 329.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.272, allocations: 7.406 kB / 329.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.2721, allocations: 13.3 kB / 329.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.2723, allocations: 115.5 kB / 329.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2723, allocations: 0 / 329.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2724, allocations: 5.094 kB / 329.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2724, allocations: 1.188 kB / 329.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2725, allocations: 68.05 kB / 329.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.2732, allocations: 387 kB / 330.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.2736, allocations: 143.6 kB / 330.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2737, allocations: 63.47 kB / 330.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.2737, allocations: 1 kB / 330.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.274, allocations: 148.2 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.274, allocations: 1.312 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005232/0.2745, allocations: 245.2 kB / 330.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.2746, allocations: 97.31 kB / 330.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2748, allocations: 174.1 kB / 331 MB, free: 14.01 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2748, allocations: 48.47 kB / 331.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.2749, allocations: 105.7 kB / 331.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.275, allocations: 42.61 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.275, allocations: 5.156 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2751, allocations: 328.6 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2753, allocations: 106.4 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2755, allocations: 132.6 kB / 331.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2757, allocations: 115.7 kB / 331.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2758, allocations: 5.328 kB / 331.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005054/0.2763, allocations: 299.9 kB / 332.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2763, allocations: 6.219 kB / 332.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2763, allocations: 0 / 332.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2763, allocations: 6 kB / 332.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2765, allocations: 30.33 kB / 332.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2765, allocations: 2.062 kB / 332.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.2766, allocations: 24.58 kB / 332.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2766, allocations: 5.219 kB / 332.3 MB, free: 13.15 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001435/0.2768, allocations: 151.2 kB / 332.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.2768, allocations: 18.2 kB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2768, allocations: 16.72 kB / 332.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2768, allocations: 1.188 kB / 332.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2768, allocations: 0 / 332.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2769, allocations: 4.953 kB / 332.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.2771, allocations: 207.4 kB / 332.6 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2771, allocations: 3.938 kB / 332.6 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.2771, allocations: 12.8 kB / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2771, allocations: 5.109 kB / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2772, allocations: 9.031 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2772, allocations: 1.188 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2772, allocations: 1.188 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.2775, allocations: 226.7 kB / 332.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2776, allocations: 96.72 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.2776, allocations: 15 kB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.2777, allocations: 9.812 kB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.2778, allocations: 9.609 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2778, allocations: 6.047 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.2779, allocations: 124.7 kB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2779, allocations: 0 / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.2782, allocations: 50 kB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0004402/0.2786, allocations: 214.2 kB / 333.4 MB, free: 12.19 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.2791, allocations: 203.2 kB / 333.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2791, allocations: 0 / 333.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2792, allocations: 68.22 kB / 333.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.2794, allocations: 8.625 kB / 333.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.2799, allocations: 278.9 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2801, allocations: 0.7121 MB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.2802, allocations: 16.88 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2803, allocations: 15.44 kB / 334.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2803, allocations: 0 / 334.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of Templates: time 0.004754/0.285, allocations: 1.962 MB / 336.7 MB, free: 9.023 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)