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.01443/0.01443, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.002147/0.002147, allocations: 189 kB / 16.67 MB, free: 6.391 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.001396/0.001396, allocations: 55.16 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004098/0.1399, allocations: 1.821 MB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1431, allocations: 1.274 MB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1434, allocations: 4 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1435, allocations: 23.73 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1437, allocations: 27.72 kB / 376.3 MB, free: 14.14 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.001573/0.1453, allocations: 319.1 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.1457, allocations: 219.5 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.146, allocations: 68.2 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1462, allocations: 99.61 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1464, allocations: 107.6 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.1465, allocations: 20 kB / 377.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.1472, allocations: 295.5 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1473, allocations: 63.77 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1475, allocations: 95.45 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.1482, allocations: 398.9 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1482, allocations: 0 / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1482, allocations: 4 kB / 378 MB, free: 12.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1482, allocations: 0 / 378 MB, free: 12.48 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.001413/0.1496, allocations: 0.5701 MB / 378.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1497, allocations: 12.03 kB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.15, allocations: 36.64 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1503, allocations: 240.8 kB / 378.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1504, allocations: 16.66 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.1504, allocations: 24.22 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.151, allocations: 199.2 kB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.151, allocations: 0 / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.151, allocations: 8 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1511, allocations: 8 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.1515, allocations: 152.1 kB / 379.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1527, allocations: 0.5702 MB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1539, allocations: 298.7 kB / 380.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.1543, allocations: 120.7 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.1543, allocations: 12.05 kB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.1548, allocations: 171.1 kB / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.497e-06/0.1548, allocations: 0 / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001116/0.1559, allocations: 349.1 kB / 380.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.156, allocations: 59.39 kB / 380.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1563, allocations: 211.8 kB / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.1563, allocations: 37.7 kB / 381 MB, free: 9.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1564, allocations: 132.5 kB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.1565, allocations: 75 kB / 381.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1567, allocations: 69.67 kB / 381.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1569, allocations: 334.8 kB / 381.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.1572, allocations: 135.8 kB / 381.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.1576, allocations: 165.5 kB / 381.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.1583, allocations: 264.6 kB / 382.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1583, allocations: 3.938 kB / 382.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008844/0.1592, allocations: 378.7 kB / 382.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1593, allocations: 8.062 kB / 382.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1593, allocations: 0 / 382.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.1593, allocations: 4 kB / 382.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1596, allocations: 67.89 kB / 382.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1597, allocations: 0 / 382.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1598, allocations: 47.66 kB / 382.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1599, allocations: 12 kB / 382.7 MB, free: 7.535 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.0001552/0.16, allocations: 153.6 kB / 382.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1601, allocations: 19.72 kB / 382.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.1602, allocations: 25.86 kB / 382.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1602, allocations: 0 / 382.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1602, allocations: 3.938 kB / 382.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1602, allocations: 4 kB / 382.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1614, allocations: 0.6308 MB / 383.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1614, allocations: 0 / 383.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.1616, allocations: 43.97 kB / 383.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1616, allocations: 3.984 kB / 383.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1617, allocations: 8 kB / 383.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1617, allocations: 0 / 383.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1617, allocations: 3.938 kB / 383.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1627, allocations: 491.9 kB / 384.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.1628, allocations: 96.83 kB / 384.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.1629, allocations: 12 kB / 384.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1631, allocations: 19.97 kB / 384.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.1631, allocations: 15.98 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1632, allocations: 7.984 kB / 384.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1633, allocations: 151.2 kB / 384.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1633, allocations: 0 / 384.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.1639, allocations: 99.92 kB / 384.5 MB, free: 5.668 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.0008094/0.1647, allocations: 290.9 kB / 384.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.1655, allocations: 279.8 kB / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1655, allocations: 0 / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1659, allocations: 115.9 kB / 385.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1662, allocations: 31.78 kB / 385.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1672, allocations: 458.8 kB / 385.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1676, allocations: 0.7359 MB / 386.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1678, allocations: 37.86 kB / 386.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.1679, allocations: 27.44 kB / 386.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1679, allocations: 0 / 386.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Templates: time 0.008002/0.1759, allocations: 3.775 MB / 390.2 MB, free: 15.86 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)