Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.01106/0.01106, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.00251/0.00251, allocations: 197 kB / 16.67 MB, free: 5.926 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.854/1.854, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001372/0.001372, allocations: 55.05 kB / 326.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 46.63 MB / 373.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004174/0.1497, allocations: 1.817 MB / 375 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.1527, allocations: 1.282 MB / 376.3 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1529, allocations: 0 / 376.3 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1532, allocations: 19.73 kB / 376.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1533, allocations: 27.73 kB / 376.3 MB, free: 14.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.001388/0.1547, allocations: 323.1 kB / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.155, allocations: 223.4 kB / 376.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.1553, allocations: 64.2 kB / 376.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1554, allocations: 99.67 kB / 377 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1556, allocations: 111.5 kB / 377.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.1557, allocations: 20 kB / 377.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1562, allocations: 299.4 kB / 377.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.1563, allocations: 59.81 kB / 377.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1565, allocations: 99.5 kB / 377.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1571, allocations: 398.8 kB / 378 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1572, allocations: 0 / 378 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1572, allocations: 0 / 378 MB, free: 12.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1572, allocations: 4 kB / 378 MB, free: 12.57 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.001389/0.1586, allocations: 0.5701 MB / 378.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1587, allocations: 12.03 kB / 378.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1589, allocations: 32.64 kB / 378.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1592, allocations: 232.8 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1593, allocations: 20.66 kB / 378.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.1594, allocations: 24.28 kB / 378.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.1599, allocations: 195.2 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1599, allocations: 0 / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.1599, allocations: 12 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1599, allocations: 4 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.1604, allocations: 156.1 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1615, allocations: 0.5741 MB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1626, allocations: 306.6 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1629, allocations: 116.7 kB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1629, allocations: 4 kB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.1633, allocations: 171.2 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1633, allocations: 0 / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001012/0.1644, allocations: 357.1 kB / 380.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1644, allocations: 59.39 kB / 380.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1647, allocations: 207.8 kB / 381 MB, free: 9.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1647, allocations: 41.64 kB / 381 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.1648, allocations: 132.5 kB / 381.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.1649, allocations: 75.08 kB / 381.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.165, allocations: 65.67 kB / 381.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.1653, allocations: 334.8 kB / 381.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.1656, allocations: 131.9 kB / 381.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.166, allocations: 169.5 kB / 381.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.1666, allocations: 260.7 kB / 382.2 MB, free: 8.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1666, allocations: 3.938 kB / 382.2 MB, free: 8.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008076/0.1674, allocations: 382.7 kB / 382.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1675, allocations: 8.141 kB / 382.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1675, allocations: 0 / 382.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1675, allocations: 4 kB / 382.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.1678, allocations: 67.89 kB / 382.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1678, allocations: 0 / 382.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.168, allocations: 43.66 kB / 382.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.168, allocations: 8 kB / 382.7 MB, free: 7.629 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.0001766/0.1682, allocations: 157.6 kB / 382.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1683, allocations: 19.72 kB / 382.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.1684, allocations: 21.86 kB / 382.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1684, allocations: 0 / 382.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1684, allocations: 0 / 382.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1684, allocations: 0 / 382.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1696, allocations: 0.6424 MB / 383.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1697, allocations: 0 / 383.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1699, allocations: 47.91 kB / 383.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1699, allocations: 0 / 383.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.17, allocations: 11.98 kB / 383.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.17, allocations: 3.938 kB / 383.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.17, allocations: 0 / 383.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.171, allocations: 483.9 kB / 384.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.1711, allocations: 100.9 kB / 384.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.1712, allocations: 12.06 kB / 384.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1713, allocations: 23.97 kB / 384.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1714, allocations: 15.98 kB / 384.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1714, allocations: 7.984 kB / 384.2 MB, free: 6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1716, allocations: 147.2 kB / 384.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 384.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.1721, allocations: 103.9 kB / 384.5 MB, free: 5.754 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.0007406/0.1729, allocations: 286.8 kB / 384.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.1736, allocations: 283.8 kB / 385 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1737, allocations: 0 / 385 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.174, allocations: 123.8 kB / 385.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1743, allocations: 31.78 kB / 385.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1755, allocations: 450.5 kB / 385.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.176, allocations: 0.7398 MB / 386.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1761, allocations: 33.88 kB / 386.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.1762, allocations: 19.44 kB / 386.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1762, allocations: 4 kB / 386.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Templates: time 0.009374/0.1856, allocations: 3.78 MB / 390.2 MB, free: 15.95 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)