Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007467/0.007467, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001187/0.001187, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001223/0.001223, allocations: 54.95 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1352, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003474/0.1387, allocations: 1.469 MB / 374.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1402, allocations: 0.5575 MB / 375.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.1403, allocations: 0 / 375.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1405, allocations: 11.88 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.1406, allocations: 23.8 kB / 375.2 MB, free: 15.24 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.1414, allocations: 151.5 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1416, allocations: 115.7 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/0.1417, allocations: 16.84 kB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.1418, allocations: 47.83 kB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.1419, allocations: 59.7 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.1419, allocations: 12 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1422, allocations: 131.8 kB / 375.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1423, allocations: 31.91 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.1424, allocations: 55.67 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1428, allocations: 219.4 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1428, allocations: 0 / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1428, allocations: 0 / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1428, allocations: 0 / 376.1 MB, free: 14.42 MB / 318.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.0008951/0.1437, allocations: 454.8 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.1438, allocations: 12.03 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.1442, allocations: 36.72 kB / 376.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1444, allocations: 200.1 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1444, allocations: 4.375 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1445, allocations: 12.31 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1448, allocations: 111.9 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1448, allocations: 192 / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1449, allocations: 7.938 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1449, allocations: 3.938 kB / 376.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1451, allocations: 59.95 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.146, allocations: 373.5 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.1464, allocations: 133.1 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1465, allocations: 57.69 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1466, allocations: 7.938 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.1469, allocations: 141 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.147, allocations: 0 / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005668/0.1475, allocations: 225.4 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.1476, allocations: 97.16 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1478, allocations: 182.3 kB / 378.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.1479, allocations: 45.69 kB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.148, allocations: 104.6 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.1481, allocations: 35.55 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1482, allocations: 65.91 kB / 378.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1484, allocations: 326.8 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.1486, allocations: 96.47 kB / 378.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.1489, allocations: 135.5 kB / 378.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.1493, allocations: 218.8 kB / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1493, allocations: 4 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005341/0.1499, allocations: 297.2 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.1499, allocations: 13.16 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1499, allocations: 0 / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.15, allocations: 3.984 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1501, allocations: 27.92 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1502, allocations: 4 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.1502, allocations: 19.78 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1503, allocations: 15.98 kB / 379.5 MB, free: 10.68 MB / 318.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.0001832/0.1505, allocations: 150 kB / 379.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1505, allocations: 19.8 kB / 379.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1505, allocations: 9.406 kB / 379.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1506, allocations: 4 kB / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1506, allocations: 0 / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1506, allocations: 0 / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1508, allocations: 213.5 kB / 379.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1508, allocations: 3.984 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.1509, allocations: 4 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1509, allocations: 0 / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1509, allocations: 12 kB / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1509, allocations: 3.938 kB / 379.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1509, allocations: 3.984 kB / 379.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.1513, allocations: 213.7 kB / 380.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.1514, allocations: 100.8 kB / 380.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.1515, allocations: 8 kB / 380.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.1516, allocations: 15.98 kB / 380.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1516, allocations: 7.984 kB / 380.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1517, allocations: 4 kB / 380.3 MB, free: 9.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1518, allocations: 123.2 kB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1518, allocations: 0 / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1521, allocations: 51.98 kB / 380.4 MB, free: 9.645 MB / 318.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.0006464/0.1528, allocations: 234.7 kB / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1533, allocations: 199.7 kB / 380.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1533, allocations: 0 / 380.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.1535, allocations: 67.89 kB / 380.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.1537, allocations: 11.98 kB / 380.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.1542, allocations: 247.8 kB / 381.2 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1546, allocations: 0.712 MB / 381.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.1547, allocations: 16.88 kB / 381.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1548, allocations: 15.42 kB / 381.9 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1548, allocations: 0 / 381.9 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.006647/0.1614, allocations: 2.135 MB / 384.1 MB, free: 5.953 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)