Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008667/0.008667, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001509/0.001509, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.618/1.618, 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.001286/0.001286, allocations: 55.27 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002744/0.118, allocations: 1.519 MB / 374.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1205, allocations: 1.457 MB / 376.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1206, allocations: 4 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1208, allocations: 11.81 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.1209, allocations: 23.78 kB / 376.2 MB, free: 14.26 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.001098/0.122, allocations: 394.8 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1221, allocations: 131.5 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.1222, allocations: 13.48 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.1223, allocations: 59.77 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.1224, allocations: 67.67 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1224, allocations: 12 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.123, allocations: 415.3 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.1231, allocations: 47.72 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.1232, allocations: 63.59 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.1237, allocations: 411.1 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1238, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1238, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1238, 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.0008608/0.1246, allocations: 0.5065 MB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1247, allocations: 12.03 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1249, allocations: 32.73 kB / 378.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1251, allocations: 208.8 kB / 378.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1252, allocations: 8.375 kB / 378.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1252, allocations: 12.36 kB / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1255, allocations: 128.4 kB / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1255, allocations: 0 / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1255, allocations: 3.984 kB / 378.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1255, allocations: 4 kB / 378.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1257, allocations: 63.95 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.1265, allocations: 0.5476 MB / 379.3 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1269, allocations: 155.7 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1271, allocations: 62.61 kB / 379.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1271, allocations: 8 kB / 379.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.1274, allocations: 145.8 kB / 379.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.1274, allocations: 0 / 379.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006011/0.128, allocations: 257.9 kB / 379.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.1281, allocations: 118.8 kB / 380 MB, free: 10.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1284, allocations: 203 kB / 380.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.1284, allocations: 45.7 kB / 380.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.1285, allocations: 108.5 kB / 380.4 MB, free: 9.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1285, allocations: 43.45 kB / 380.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.1286, allocations: 61.69 kB / 380.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1288, allocations: 338.9 kB / 380.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.129, allocations: 99.94 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.1293, allocations: 143.1 kB / 381 MB, free: 9.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.1297, allocations: 231.7 kB / 381.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1297, allocations: 0 / 381.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005227/0.1302, allocations: 309.2 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1303, allocations: 7.906 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1303, allocations: 0 / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1303, allocations: 12.03 kB / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1305, allocations: 35.91 kB / 381.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1305, allocations: 0 / 381.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.1306, allocations: 23.75 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1306, allocations: 4 kB / 381.6 MB, free: 8.48 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.0001511/0.1308, allocations: 158 kB / 381.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1308, allocations: 19.81 kB / 381.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1309, allocations: 21.39 kB / 381.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1309, allocations: 3.938 kB / 381.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1309, allocations: 0 / 381.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1309, allocations: 4 kB / 381.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1312, allocations: 217.5 kB / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1312, allocations: 0 / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.1312, allocations: 15.92 kB / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1312, allocations: 0 / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1313, allocations: 8 kB / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1313, allocations: 0 / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1313, allocations: 4 kB / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.1317, allocations: 242.4 kB / 382.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.1318, allocations: 88.92 kB / 382.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.1318, allocations: 19.92 kB / 382.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.1319, allocations: 8 kB / 382.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.132, allocations: 11.98 kB / 382.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.132, allocations: 11.92 kB / 382.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1321, allocations: 137.2 kB / 382.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 382.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1326, allocations: 120 kB / 382.7 MB, free: 7.309 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.0008052/0.1334, allocations: 362.2 kB / 383.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.1339, allocations: 195.8 kB / 383.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1339, allocations: 0 / 383.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1341, allocations: 63.97 kB / 383.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.1343, allocations: 23.77 kB / 383.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1348, allocations: 281.5 kB / 383.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1351, allocations: 0.7199 MB / 384.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.1351, allocations: 25.39 kB / 384.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.1352, allocations: 19.44 kB / 384.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1352, allocations: 4 kB / 384.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of Templates: time 0.007312/0.1425, allocations: 3.632 MB / 388 MB, free: 1.934 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)