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.006861/0.006861, allocations: 108.8 kB / 15.74 MB, free: 6.441 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.001285/0.001285, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001552/0.001552, allocations: 50.92 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003585/0.1255, allocations: 1.465 MB / 374.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1271, allocations: 0.5652 MB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1272, allocations: 0 / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1274, allocations: 7.875 kB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.1275, allocations: 27.8 kB / 375.2 MB, free: 15.23 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.001022/0.1285, allocations: 143.5 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1287, allocations: 119.7 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.1288, allocations: 16.84 kB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.1289, allocations: 47.83 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.129, allocations: 59.69 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.129, allocations: 12 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.1294, allocations: 131.8 kB / 375.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.1295, allocations: 31.91 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.1295, allocations: 55.67 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.13, allocations: 215.4 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.13, allocations: 0 / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1301, allocations: 0 / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1301, allocations: 0 / 376 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.0008739/0.131, allocations: 462.7 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.131, allocations: 12.03 kB / 376.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1314, allocations: 36.72 kB / 376.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1317, allocations: 200.1 kB / 376.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1317, allocations: 4.375 kB / 376.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1317, allocations: 4.375 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.132, allocations: 115.8 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.132, allocations: 192 / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1321, allocations: 7.938 kB / 376.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1321, allocations: 4 kB / 376.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1323, allocations: 55.95 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.1331, allocations: 373.4 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1335, allocations: 129.1 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1336, allocations: 57.84 kB / 377.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1336, allocations: 4 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.134, allocations: 148.9 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.134, allocations: 0 / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005941/0.1346, allocations: 229.4 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.1347, allocations: 97.08 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1349, allocations: 182.3 kB / 378.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.135, allocations: 41.69 kB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.1351, allocations: 108.6 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1352, allocations: 35.55 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1353, allocations: 61.91 kB / 378.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1354, allocations: 330.8 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.1357, allocations: 100.5 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1359, allocations: 127.5 kB / 378.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.1363, allocations: 222.8 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1363, allocations: 0 / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005558/0.1369, allocations: 301.2 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1369, allocations: 4 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.137, allocations: 12.05 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.137, allocations: 0 / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1372, allocations: 27.92 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.1372, allocations: 4 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.1373, allocations: 19.78 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1373, allocations: 11.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.0001926/0.1375, allocations: 158 kB / 379.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1376, allocations: 15.81 kB / 379.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1376, allocations: 9.406 kB / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1376, allocations: 4 kB / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1376, allocations: 0 / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1376, allocations: 3.938 kB / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1379, allocations: 209.5 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1379, allocations: 4 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.138, allocations: 4 kB / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.138, allocations: 0 / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.138, allocations: 8 kB / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.138, allocations: 3.984 kB / 379.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.138, allocations: 0 / 379.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.1384, allocations: 221.6 kB / 380.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1385, allocations: 100.8 kB / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1385, allocations: 8 kB / 380.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.1386, allocations: 11.98 kB / 380.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.1387, allocations: 11.98 kB / 380.3 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1387, allocations: 4 kB / 380.3 MB, free: 9.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1388, allocations: 119.2 kB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1388, allocations: 0 / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.1392, allocations: 55.98 kB / 380.4 MB, free: 9.641 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.0006914/0.1399, allocations: 238.8 kB / 380.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.1404, allocations: 199.7 kB / 380.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1404, allocations: 0 / 380.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1406, allocations: 59.97 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.0001896/0.1408, 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.0005864/0.1414, allocations: 251.8 kB / 381.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1418, allocations: 0.712 MB / 381.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.1418, allocations: 20.86 kB / 381.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.1419, allocations: 11.44 kB / 381.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1419, allocations: 0 / 381.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of Templates: time 0.007245/0.1492, allocations: 2.138 MB / 384.1 MB, free: 5.945 MB / 318.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)