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.001219/0.001218, allocations: 106.6 kB / 16.51 MB, free: 6.707 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.001311/0.001312, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.55/1.55, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001254/0.001254, allocations: 43.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003633/0.1345, allocations: 1.568 MB / 327.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1361, allocations: 0.5894 MB / 328.1 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.1362, allocations: 0 / 328.1 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1364, allocations: 3.938 kB / 328.1 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.1365, allocations: 19.84 kB / 328.1 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.1372, allocations: 119.8 kB / 328.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1374, allocations: 111.7 kB / 328.4 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.1375, allocations: 9.109 kB / 328.4 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.1376, allocations: 47.83 kB / 328.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1377, allocations: 55.62 kB / 328.5 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1378, allocations: 12 kB / 328.5 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.1381, allocations: 119.9 kB / 328.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.1382, allocations: 27.91 kB / 328.6 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.1383, allocations: 55.59 kB / 328.7 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.1387, allocations: 199.7 kB / 328.9 MB, free: 1.949 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.1387, allocations: 3.984 kB / 328.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1387, allocations: 0 / 328.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1388, allocations: 4 kB / 328.9 MB, free: 1.941 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.0009705/0.1397, allocations: 458.8 kB / 329.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1398, allocations: 8.031 kB / 329.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.1402, allocations: 36.81 kB / 329.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1404, allocations: 200 kB / 329.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.1405, allocations: 12.36 kB / 329.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1405, allocations: 4.375 kB / 329.6 MB, free: 1.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1407, allocations: 107.9 kB / 329.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1408, allocations: 4.188 kB / 329.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1408, allocations: 7.938 kB / 329.7 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1408, allocations: 4 kB / 329.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.141, allocations: 55.89 kB / 329.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.1417, allocations: 369.6 kB / 330.1 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.142, allocations: 133.1 kB / 330.3 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1421, allocations: 53.75 kB / 330.3 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1421, allocations: 4 kB / 330.3 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.1425, allocations: 137 kB / 330.4 MB, free: 180 kB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1425, allocations: 4 kB / 330.4 MB, free: 176 kB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005765/0.1431, allocations: 233.4 kB / 330.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1432, allocations: 97.09 kB / 330.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1434, allocations: 182.2 kB / 330.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.1435, allocations: 45.69 kB / 331 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.1436, allocations: 112.4 kB / 331.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.1437, allocations: 43.45 kB / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1438, allocations: 57.92 kB / 331.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.144, allocations: 334.8 kB / 331.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.1442, allocations: 100.5 kB / 331.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1445, allocations: 135.5 kB / 331.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.1449, allocations: 214.9 kB / 332 MB, free: 14.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1449, allocations: 7.938 kB / 332 MB, free: 14.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005535/0.1455, allocations: 289.4 kB / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.1455, allocations: 4 kB / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1455, allocations: 0 / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.1455, allocations: 7.984 kB / 332.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1457, allocations: 27.98 kB / 332.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1458, allocations: 0 / 332.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.1458, allocations: 23.83 kB / 332.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1459, allocations: 12.06 kB / 332.3 MB, free: 14.2 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,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.1461, allocations: 149.7 kB / 332.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1461, allocations: 11.81 kB / 332.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1462, allocations: 13.41 kB / 332.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1462, allocations: 3.938 kB / 332.5 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.1462, allocations: 7.984 kB / 332.5 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1462, allocations: 0 / 332.5 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.1465, allocations: 209.5 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1465, allocations: 0 / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.1466, allocations: 15.92 kB / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1466, allocations: 0 / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1466, allocations: 4 kB / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1466, allocations: 0 / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1466, allocations: 0 / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.147, allocations: 225.7 kB / 333 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1471, allocations: 92.92 kB / 333 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1471, allocations: 7.984 kB / 333.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.1472, allocations: 4 kB / 333.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.1472, allocations: 15.98 kB / 333.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1473, allocations: 4 kB / 333.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1474, allocations: 123.2 kB / 333.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 3.938 kB / 333.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1477, allocations: 56 kB / 333.3 MB, free: 13.17 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 (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.0005629/0.1483, allocations: 233.2 kB / 333.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.1488, allocations: 195.7 kB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1488, allocations: 0 / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1489, allocations: 63.91 kB / 333.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1492, allocations: 8 kB / 333.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.1498, allocations: 285.6 kB / 334 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1501, allocations: 0.716 MB / 334.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.1501, allocations: 16.88 kB / 334.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1502, allocations: 15.44 kB / 334.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1502, allocations: 0 / 334.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of Templates: time 0.005588/0.1558, allocations: 2.021 MB / 336.8 MB, free: 9.57 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (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)