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.0008815/0.0008818, allocations: 92.69 kB / 16.65 MB, free: 6.59 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.0008927/0.0008931, allocations: 185 kB / 17.57 MB, free: 6.199 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.774/1.774, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.0004568/0.0004569, allocations: 16 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00262/0.1271, allocations: 1.225 MB / 329.5 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1286, allocations: 0.5662 MB / 330.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.1287, allocations: 0 / 330.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.546e-05/0.1288, allocations: 7.938 kB / 330.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.1288, allocations: 23.84 kB / 330.1 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.1293, allocations: 123.8 kB / 330.3 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1295, allocations: 107.6 kB / 330.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.875e-05/0.1296, allocations: 13.11 kB / 330.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.1296, allocations: 47.77 kB / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.1297, allocations: 55.75 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1298, allocations: 4 kB / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.13, allocations: 119.8 kB / 330.6 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.1301, allocations: 31.91 kB / 330.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.1301, allocations: 81.3 kB / 330.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1304, allocations: 207.7 kB / 330.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1305, allocations: 3.938 kB / 330.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1305, allocations: 0 / 330.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1305, allocations: 0 / 330.9 MB, free: 1.133 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.0006431/0.1311, allocations: 431 kB / 331.3 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1312, allocations: 12.03 kB / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.1314, allocations: 36.81 kB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1316, allocations: 204 kB / 331.6 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1316, allocations: 12.31 kB / 331.6 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1317, allocations: 4.375 kB / 331.6 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1319, allocations: 123.6 kB / 331.7 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1319, allocations: 192 / 331.7 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.132, allocations: 3.938 kB / 331.7 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.132, allocations: 8 kB / 331.7 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1322, allocations: 63.95 kB / 331.8 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.1329, allocations: 377.5 kB / 332.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1332, allocations: 141.1 kB / 332.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1333, allocations: 57.7 kB / 332.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1334, allocations: 11.98 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.1337, allocations: 141.1 kB / 332.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1337, allocations: 0 / 332.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005303/0.1342, allocations: 249.4 kB / 332.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1343, allocations: 97.08 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1344, allocations: 178.3 kB / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1345, allocations: 41.7 kB / 333.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.1346, allocations: 112.5 kB / 333.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.1346, allocations: 43.45 kB / 333.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1347, allocations: 37.69 kB / 333.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1348, allocations: 326.8 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.135, allocations: 104.4 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1352, allocations: 143.5 kB / 333.8 MB, free: 13.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1355, allocations: 218.9 kB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1355, allocations: 0 / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000518/0.1361, allocations: 309.3 kB / 334.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1361, allocations: 4 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1361, allocations: 0 / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1361, allocations: 7.938 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1363, allocations: 31.98 kB / 334.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1363, allocations: 4 kB / 334.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1364, allocations: 27.81 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1364, allocations: 4 kB / 334.4 MB, free: 13.36 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.000143/0.1366, allocations: 157.8 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1366, allocations: 11.81 kB / 334.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.1366, allocations: 17.41 kB / 334.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1367, allocations: 3.984 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1367, allocations: 4 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1367, allocations: 0 / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1369, allocations: 205.5 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1369, allocations: 0 / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1369, allocations: 11.98 kB / 334.8 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1369, allocations: 4 kB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.137, allocations: 0 / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.137, allocations: 3.938 kB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.137, allocations: 4 kB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1373, allocations: 225.7 kB / 335 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1374, allocations: 92.92 kB / 335.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1374, allocations: 15.98 kB / 335.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.1375, allocations: 4 kB / 335.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1375, allocations: 15.98 kB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1376, allocations: 3.938 kB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.1377, allocations: 127.2 kB / 335.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 335.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.138, allocations: 48 kB / 335.3 MB, free: 12.32 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.000443/0.1384, allocations: 233.2 kB / 335.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.1388, allocations: 207.7 kB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1388, allocations: 0 / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.139, allocations: 67.91 kB / 335.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.1391, allocations: 8.125 kB / 335.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.1396, allocations: 290.9 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1399, allocations: 0.7122 MB / 336.8 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.1399, allocations: 20.86 kB / 336.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.14, allocations: 15.44 kB / 336.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.14, allocations: 0 / 336.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Templates: time 0.00468/0.1447, allocations: 1.978 MB / 338.9 MB, free: 8.746 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)