Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009763/0.0009765, allocations: 96.12 kB / 16.3 MB, free: 5.543 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.0009946/0.0009948, allocations: 183.7 kB / 17.2 MB, free: 5.477 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.471/1.471, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0007385/0.0007386, allocations: 19.98 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001865/0.1196, allocations: 1.199 MB / 328.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1208, allocations: 0.5463 MB / 329.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.1209, allocations: 0 / 329.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.121, allocations: 3.938 kB / 329.4 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.1211, allocations: 31.83 kB / 329.5 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1216, allocations: 107.7 kB / 329.6 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1217, allocations: 75.83 kB / 329.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.1218, allocations: 13.12 kB / 329.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.1219, allocations: 47.77 kB / 329.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.1219, allocations: 51.77 kB / 329.8 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.122, allocations: 11.98 kB / 329.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1222, allocations: 83.88 kB / 329.9 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.1222, allocations: 31.89 kB / 329.9 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1223, allocations: 41.64 kB / 329.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1225, allocations: 147.9 kB / 330.1 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1225, allocations: 0 / 330.1 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1225, allocations: 0 / 330.1 MB, free: 1.695 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1225, allocations: 0 / 330.1 MB, free: 1.695 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.0006466/0.1232, allocations: 438.8 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1232, allocations: 12.02 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.1236, allocations: 31.89 kB / 330.5 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1238, allocations: 206.7 kB / 330.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1238, allocations: 8 kB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1238, allocations: 4 kB / 330.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1241, allocations: 127.3 kB / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1241, allocations: 0 / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1241, allocations: 0 / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1241, allocations: 4 kB / 330.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1243, allocations: 71.89 kB / 331 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.125, allocations: 369.5 kB / 331.3 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1253, allocations: 145.1 kB / 331.5 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1253, allocations: 4 kB / 331.5 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.1256, allocations: 145.4 kB / 331.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1256, allocations: 0 / 331.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006046/0.1262, allocations: 411.5 kB / 332 MB, free: 15.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.1263, allocations: 89.11 kB / 332.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1265, allocations: 178.3 kB / 332.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1265, allocations: 41.69 kB / 332.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.1266, allocations: 116.5 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.1267, allocations: 47.45 kB / 332.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.1267, allocations: 4 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1268, allocations: 326.8 kB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1271, allocations: 100.5 kB / 332.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.1273, allocations: 135.5 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1275, allocations: 119.9 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1275, allocations: 0 / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004823/0.128, allocations: 305.3 kB / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.128, allocations: 4 kB / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.128, allocations: 0 / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.128, allocations: 4 kB / 333.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1282, allocations: 35.86 kB / 333.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1282, allocations: 4 kB / 333.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.1283, allocations: 19.84 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1283, allocations: 7.984 kB / 333.5 MB, free: 13.96 MB / 286.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.0001396/0.1285, allocations: 157.8 kB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1285, allocations: 15.77 kB / 333.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.1285, allocations: 13.5 kB / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1285, allocations: 3.984 kB / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1286, allocations: 0 / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.1286, allocations: 0 / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1287, allocations: 209.5 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1288, allocations: 8 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1288, allocations: 8 kB / 333.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1288, allocations: 3.953 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1288, allocations: 7.984 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1288, allocations: 0 / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1288, allocations: 3.938 kB / 333.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1292, allocations: 246.8 kB / 334.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1293, allocations: 92.88 kB / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1293, allocations: 4 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.1294, allocations: 11.98 kB / 334.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.1294, allocations: 15.98 kB / 334.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1294, allocations: 4 kB / 334.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.1295, allocations: 127.2 kB / 334.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1295, allocations: 0 / 334.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1298, allocations: 52 kB / 334.5 MB, free: 12.89 MB / 286.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.0004731/0.1303, allocations: 220.6 kB / 334.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.1307, allocations: 195.8 kB / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1308, allocations: 0 / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1309, allocations: 67.97 kB / 335 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1311, allocations: 7.875 kB / 335 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.1316, allocations: 279 kB / 335.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1319, allocations: 0.7199 MB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.1319, allocations: 16.88 kB / 336 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.132, allocations: 19.42 kB / 336 MB, free: 11.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.132, allocations: 0 / 336 MB, free: 11.32 MB / 286.1 MB Notification: Performance of Templates: time 0.004947/0.1369, allocations: 1.95 MB / 337.9 MB, free: 9.367 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) Environment - environmentSimulation: