Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 110.2 kB / 17.06 MB, free: 6.137 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.001438/0.001438, allocations: 191 kB / 18 MB, free: 5.219 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.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001305/0.001305, allocations: 47.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003986/0.1411, allocations: 1.82 MB / 376.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.144, allocations: 1.282 MB / 377.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1443, allocations: 4 kB / 377.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.1444, allocations: 19.73 kB / 377.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1445, allocations: 27.72 kB / 377.6 MB, free: 1.375 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.001331/0.1459, allocations: 315.1 kB / 378 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.1462, allocations: 219.5 kB / 378.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1465, allocations: 72.23 kB / 378.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1466, allocations: 95.61 kB / 378.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1469, allocations: 111.5 kB / 378.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.1469, allocations: 20 kB / 378.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.1475, allocations: 295.5 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/0.1476, allocations: 55.83 kB / 378.8 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1478, allocations: 99.39 kB / 378.9 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2817/0.4295, allocations: 394.8 kB / 379.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4295, allocations: 1.312 kB / 379.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4295, allocations: 0 / 379.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4296, allocations: 0 / 379.3 MB, free: 10.25 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001308/0.4309, allocations: 0.5762 MB / 379.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4309, allocations: 8.875 kB / 379.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.4312, allocations: 38.23 kB / 379.9 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.4315, allocations: 232.6 kB / 380.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4315, allocations: 19.78 kB / 380.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.4316, allocations: 27.45 kB / 380.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.4321, allocations: 194.5 kB / 380.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4321, allocations: 4.688 kB / 380.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.4321, allocations: 4.281 kB / 380.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4321, allocations: 3.719 kB / 380.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.4326, allocations: 154.4 kB / 380.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.4338, allocations: 0.5691 MB / 381.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.435, allocations: 305.2 kB / 381.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.4354, allocations: 112.2 kB / 381.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4354, allocations: 16.77 kB / 381.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.4358, allocations: 163.3 kB / 381.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.4359, allocations: 0 / 381.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001238/0.4371, allocations: 361.6 kB / 382 MB, free: 9.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4372, allocations: 62.11 kB / 382.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.4374, allocations: 206.5 kB / 382.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.4375, allocations: 40.36 kB / 382.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.4376, allocations: 132.3 kB / 382.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.4376, allocations: 73.22 kB / 382.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4378, allocations: 67.66 kB / 382.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4379, allocations: 334.3 kB / 382.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.4383, allocations: 130.3 kB / 383.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.4387, allocations: 167 kB / 383.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.4395, allocations: 270.4 kB / 383.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4395, allocations: 0 / 383.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008991/0.4404, allocations: 376.5 kB / 383.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4404, allocations: 9.5 kB / 383.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4404, allocations: 3.516 kB / 383.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4405, allocations: 5.75 kB / 383.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4408, allocations: 72.5 kB / 384 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4408, allocations: 2.75 kB / 384 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.441, allocations: 39.47 kB / 384 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.441, allocations: 13.52 kB / 384 MB, free: 8.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001498/0.4412, allocations: 149.3 kB / 384.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.4412, allocations: 20.73 kB / 384.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.4413, allocations: 26.28 kB / 384.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4413, allocations: 2.156 kB / 384.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4413, allocations: 0 / 384.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4413, allocations: 4.688 kB / 384.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4425, allocations: 0.6355 MB / 384.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4425, allocations: 1.312 kB / 384.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.4428, allocations: 44.81 kB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4428, allocations: 1.312 kB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.4428, allocations: 7.484 kB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4428, allocations: 1.219 kB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4428, allocations: 3.703 kB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4439, allocations: 488.5 kB / 385.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.444, allocations: 100.1 kB / 385.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.444, allocations: 5.938 kB / 385.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4442, allocations: 28.16 kB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.4443, allocations: 17.69 kB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4443, allocations: 5.922 kB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4445, allocations: 149.5 kB / 385.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4445, allocations: 1 kB / 385.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.4451, allocations: 99.84 kB / 385.8 MB, free: 7.551 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006508/0.4458, allocations: 291.3 kB / 386.1 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008345/0.4466, allocations: 282.8 kB / 386.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4466, allocations: 0 / 386.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.447, allocations: 121.5 kB / 386.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4474, allocations: 29.44 kB / 386.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.4485, allocations: 459.6 kB / 386.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4487, allocations: 0.7383 MB / 387.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.4489, allocations: 30.8 kB / 387.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.449, allocations: 24.05 kB / 387.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.449, allocations: 3.938 kB / 387.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Templates: time 0.0115/0.4605, allocations: 3.788 MB / 391.5 MB, free: 6.102 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)