Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009556/0.009556, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001738/0.001738, allocations: 195 kB / 16.67 MB, free: 5.883 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.652/1.652, allocations: 205.1 MB / 222.6 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.001207/0.001207, allocations: 46.5 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003295/0.12, allocations: 1.527 MB / 374.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1229, allocations: 1.45 MB / 376.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.123, allocations: 0 / 376.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1232, allocations: 11.81 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1233, allocations: 23.8 kB / 376.2 MB, free: 14.27 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.001335/0.1247, allocations: 394.7 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1249, allocations: 139.5 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.1249, allocations: 9.5 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.125, allocations: 63.69 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1251, allocations: 63.75 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1252, allocations: 12 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.1258, allocations: 423.2 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.1259, allocations: 35.91 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.126, allocations: 67.53 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.1266, allocations: 410.7 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1266, allocations: 4 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1266, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1267, allocations: 0 / 377.8 MB, free: 12.68 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009279/0.1276, allocations: 0.5174 MB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1276, allocations: 8.031 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1279, allocations: 32.83 kB / 378.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1281, allocations: 212.9 kB / 378.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1281, allocations: 4.375 kB / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1282, allocations: 12.36 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1284, allocations: 133.5 kB / 378.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1285, allocations: 3.984 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1285, allocations: 4 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1285, allocations: 0 / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1287, allocations: 67.89 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.1295, allocations: 0.5478 MB / 379.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.1299, allocations: 147.7 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.13, allocations: 74.55 kB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.13, allocations: 0 / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.1304, allocations: 149.9 kB / 379.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.474e-06/0.1304, allocations: 4 kB / 379.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005547/0.131, allocations: 249.4 kB / 379.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.131, allocations: 122.8 kB / 380 MB, free: 10.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1312, allocations: 199.1 kB / 380.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.1313, allocations: 45.69 kB / 380.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.1314, allocations: 112.5 kB / 380.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1314, allocations: 47.84 kB / 380.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.1315, allocations: 57.59 kB / 380.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1317, allocations: 338.8 kB / 380.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1319, allocations: 99.94 kB / 380.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1321, allocations: 143.1 kB / 381.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.1325, allocations: 231.7 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1325, allocations: 0 / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005248/0.133, allocations: 313.4 kB / 381.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.133, allocations: 11.91 kB / 381.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1331, allocations: 0 / 381.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1331, allocations: 0 / 381.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1333, allocations: 35.91 kB / 381.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1333, allocations: 4 kB / 381.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.1334, allocations: 19.84 kB / 381.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1334, allocations: 8 kB / 381.7 MB, free: 8.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.0001592/0.1336, allocations: 157.9 kB / 381.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1336, allocations: 19.83 kB / 381.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1336, allocations: 13.5 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1336, allocations: 7.984 kB / 381.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1337, allocations: 0 / 381.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1337, allocations: 0 / 381.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1339, allocations: 225.4 kB / 382.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1339, allocations: 0 / 382.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.134, allocations: 11.98 kB / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.134, allocations: 8 kB / 382.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.134, allocations: 0 / 382.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.134, allocations: 4 kB / 382.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.134, allocations: 4.453 kB / 382.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.1344, allocations: 242.5 kB / 382.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1345, allocations: 89.02 kB / 382.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1345, allocations: 15.98 kB / 382.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.1346, allocations: 4 kB / 382.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.1347, allocations: 15.98 kB / 382.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1347, allocations: 15.92 kB / 382.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1348, allocations: 133.2 kB / 382.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 382.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.1352, allocations: 131.6 kB / 382.7 MB, free: 7.289 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0007139/0.1359, allocations: 357.8 kB / 383.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.1364, allocations: 203.8 kB / 383.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1364, allocations: 0 / 383.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1366, allocations: 68.16 kB / 383.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1367, allocations: 19.89 kB / 383.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1372, allocations: 269 kB / 383.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1375, allocations: 0.7161 MB / 384.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.1376, allocations: 29.39 kB / 384.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1376, allocations: 23.44 kB / 384.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1376, allocations: 0 / 384.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of Templates: time 0.006787/0.1444, allocations: 3.632 MB / 388 MB, free: 1.922 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)