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.001688/0.001689, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.0023/0.002301, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.702/1.702, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001318/0.001318, allocations: 51.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004798/0.162, allocations: 1.909 MB / 327.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.1649, allocations: 1.298 MB / 329.2 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1651, allocations: 4 kB / 329.2 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1653, allocations: 11.86 kB / 329.2 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.1654, allocations: 23.86 kB / 329.2 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.1663, allocations: 259.4 kB / 329.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1666, allocations: 203.5 kB / 329.7 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1668, allocations: 71.98 kB / 329.7 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.167, allocations: 87.61 kB / 329.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1672, allocations: 107.5 kB / 329.9 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1672, allocations: 12 kB / 329.9 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.168, allocations: 311.4 kB / 330.2 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.1681, allocations: 51.81 kB / 330.3 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1682, allocations: 91.39 kB / 330.4 MB, free: 448 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.1689, allocations: 399.1 kB / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1689, allocations: 0 / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1689, allocations: 0 / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1689, allocations: 0 / 330.8 MB, free: 48 kB / 270.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.001701/0.1706, allocations: 0.574 MB / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.1707, allocations: 8.031 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.171, allocations: 36.64 kB / 331.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1714, allocations: 232.8 kB / 331.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1714, allocations: 12.66 kB / 331.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.1715, allocations: 24.38 kB / 331.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.172, allocations: 206.9 kB / 331.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.172, allocations: 0 / 331.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.172, allocations: 4 kB / 331.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1721, allocations: 4 kB / 331.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.1726, allocations: 156 kB / 332 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1737, allocations: 0.5738 MB / 332.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1748, allocations: 314.6 kB / 332.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.1751, allocations: 112.7 kB / 333 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1751, allocations: 8 kB / 333 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.1756, allocations: 167.2 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.1756, allocations: 0 / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.00104/0.1767, allocations: 357.1 kB / 333.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1767, allocations: 55.41 kB / 333.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1769, allocations: 215.7 kB / 333.8 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.177, allocations: 37.7 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1771, allocations: 136.7 kB / 334 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.1772, allocations: 70.92 kB / 334 MB, free: 12.58 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1773, allocations: 61.69 kB / 334.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1775, allocations: 334.8 kB / 334.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.1778, allocations: 139.8 kB / 334.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1782, allocations: 161.5 kB / 334.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.1789, allocations: 264.6 kB / 335 MB, free: 11.61 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1789, allocations: 3.938 kB / 335 MB, free: 11.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008123/0.1797, allocations: 378.7 kB / 335.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1798, allocations: 11.16 kB / 335.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1798, allocations: 4 kB / 335.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1798, allocations: 4 kB / 335.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.1801, allocations: 67.88 kB / 335.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1801, allocations: 4 kB / 335.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1803, allocations: 35.72 kB / 335.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1803, allocations: 12 kB / 335.5 MB, free: 11.1 MB / 286.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.0001645/0.1805, allocations: 153.6 kB / 335.6 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1805, allocations: 15.81 kB / 335.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.1806, allocations: 21.88 kB / 335.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1806, allocations: 3.984 kB / 335.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1806, allocations: 0 / 335.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1806, allocations: 0 / 335.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.182, allocations: 0.6424 MB / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1821, allocations: 0 / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1823, allocations: 51.95 kB / 336.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1823, allocations: 0 / 336.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.1824, allocations: 7.984 kB / 336.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1824, allocations: 0 / 336.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1824, allocations: 0 / 336.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1834, allocations: 487.9 kB / 336.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.1835, allocations: 100.8 kB / 336.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.1836, allocations: 12 kB / 337 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1838, allocations: 31.91 kB / 337 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.1839, allocations: 7.984 kB / 337 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1839, allocations: 7.984 kB / 337 MB, free: 9.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1841, allocations: 155.2 kB / 337.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1841, allocations: 0 / 337.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005312/0.1846, allocations: 107.9 kB / 337.3 MB, free: 9.215 MB / 286.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.0007834/0.1854, allocations: 285 kB / 337.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.1862, allocations: 295.4 kB / 337.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1863, allocations: 0 / 337.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.1866, allocations: 115.9 kB / 337.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.187, allocations: 27.92 kB / 338 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1881, allocations: 0.4987 MB / 338.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1886, allocations: 0.732 MB / 339.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1888, allocations: 33.94 kB / 339.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.1888, allocations: 27.42 kB / 339.3 MB, free: 7.164 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1888, allocations: 0 / 339.3 MB, free: 7.164 MB / 286.1 MB Notification: Performance of Templates: time 0.008559/0.1974, allocations: 3.619 MB / 342.9 MB, free: 3.543 MB / 286.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)