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.007954/0.007954, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001398/0.001398, allocations: 197 kB / 16.67 MB, free: 5.52 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.77/1.77, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001267/0.001267, allocations: 51.92 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1414, allocations: 46.61 MB / 373.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.004884/0.1463, allocations: 1.526 MB / 374.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.1495, allocations: 1.457 MB / 376.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1496, allocations: 0 / 376.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1498, allocations: 15.81 kB / 376.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.15, allocations: 23.8 kB / 376.2 MB, free: 1.543 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.00164/0.1516, allocations: 390.8 kB / 376.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1518, allocations: 131.6 kB / 376.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.1519, allocations: 17.47 kB / 376.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.152, allocations: 55.77 kB / 376.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.1521, allocations: 79.61 kB / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1522, allocations: 12 kB / 376.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008403/0.153, allocations: 411.3 kB / 377.3 MB, free: 476 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.1531, allocations: 35.84 kB / 377.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.1532, allocations: 63.59 kB / 377.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3579/0.5111, allocations: 408.5 kB / 377.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.5112, allocations: 0.5625 kB / 377.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5112, allocations: 0 / 377.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.5113, allocations: 0.6875 kB / 377.7 MB, free: 10.72 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.00145/0.5127, allocations: 0.5141 MB / 378.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.5128, allocations: 9.438 kB / 378.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.5132, allocations: 31.98 kB / 378.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.5134, allocations: 203.3 kB / 378.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.5134, allocations: 11.73 kB / 378.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5135, allocations: 10.75 kB / 378.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.5138, allocations: 132.6 kB / 378.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5138, allocations: 3.938 kB / 378.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5138, allocations: 3.062 kB / 378.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5139, allocations: 1.375 kB / 378.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.5141, allocations: 65.56 kB / 378.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.515, allocations: 0.5502 MB / 379.3 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.5154, allocations: 148.8 kB / 379.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.5156, allocations: 65.78 kB / 379.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5156, allocations: 1.938 kB / 379.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.5162, allocations: 155.4 kB / 379.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/0.5162, allocations: 0 / 379.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007872/0.517, allocations: 262.5 kB / 379.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.5171, allocations: 115.4 kB / 380 MB, free: 9.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.5174, allocations: 201.1 kB / 380.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.5174, allocations: 47.83 kB / 380.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.5175, allocations: 108.6 kB / 380.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.5176, allocations: 43.59 kB / 380.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5177, allocations: 57.86 kB / 380.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5179, allocations: 340.5 kB / 380.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.5181, allocations: 102.3 kB / 380.9 MB, free: 8.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.5185, allocations: 146.1 kB / 381 MB, free: 8.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.5191, allocations: 228.9 kB / 381.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5191, allocations: 0.5625 kB / 381.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007811/0.5199, allocations: 302.5 kB / 381.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5199, allocations: 5.281 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.52, allocations: 3.047 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.52, allocations: 2.906 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.5202, allocations: 33.38 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.5202, allocations: 5.875 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.5203, allocations: 28.97 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.5204, allocations: 11.2 kB / 381.6 MB, free: 8.559 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.0001699/0.5205, allocations: 153.8 kB / 381.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.5206, allocations: 16.22 kB / 381.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.5206, allocations: 17.27 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5207, allocations: 3.594 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.5207, allocations: 0 / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.5207, allocations: 2.188 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.521, allocations: 220.7 kB / 382 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.521, allocations: 5 kB / 382 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.521, allocations: 11.33 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5211, allocations: 2.625 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5211, allocations: 1.469 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5211, allocations: 2.828 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5211, allocations: 3.875 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.5216, allocations: 245.5 kB / 382.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.5217, allocations: 90.75 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.5217, allocations: 14.92 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.5218, allocations: 7.641 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.5219, allocations: 12.67 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5219, allocations: 8.719 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.5221, allocations: 144 kB / 382.6 MB, free: 7.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5221, allocations: 0 / 382.6 MB, free: 7.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006157/0.5227, allocations: 126.1 kB / 382.7 MB, free: 7.922 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.0009256/0.5236, allocations: 357.5 kB / 383.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.5242, allocations: 198.5 kB / 383.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5242, allocations: 5.406 kB / 383.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.5244, allocations: 68.52 kB / 383.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.5246, allocations: 12.95 kB / 383.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.5252, allocations: 271.3 kB / 383.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5255, allocations: 0.7256 MB / 384.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.5256, allocations: 21.73 kB / 384.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.5257, allocations: 20.2 kB / 384.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5257, allocations: 0 / 384.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of Templates: time 0.01204/0.5377, allocations: 3.646 MB / 388 MB, free: 6.527 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)