Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001344/0.001344, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.668/1.668, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.00161/0.00161, allocations: 51.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004668/0.1425, allocations: 1.905 MB / 327.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1452, allocations: 1.01 MB / 328.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.1455, allocations: 0 / 328.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1457, allocations: 11.86 kB / 328.9 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1461, allocations: 23.78 kB / 328.9 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.1469, allocations: 159.7 kB / 329.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1472, allocations: 211.5 kB / 329.3 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1475, allocations: 60.06 kB / 329.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1476, allocations: 91.61 kB / 329.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1478, allocations: 111.5 kB / 329.5 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.1479, allocations: 12 kB / 329.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1482, allocations: 123.8 kB / 329.7 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.1483, allocations: 51.75 kB / 329.7 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1484, allocations: 95.45 kB / 329.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.1489, allocations: 291.4 kB / 330.1 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.149, allocations: 0 / 330.1 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.149, allocations: 3.938 kB / 330.1 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.149, allocations: 3.938 kB / 330.1 MB, free: 0.7188 MB / 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.001526/0.1505, allocations: 0.5506 MB / 330.6 MB, free: 124 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.1506, allocations: 12.02 kB / 330.7 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.1509, allocations: 36.66 kB / 330.7 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1513, allocations: 240.7 kB / 330.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.1514, allocations: 20.64 kB / 330.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.1514, allocations: 20.38 kB / 331 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.152, allocations: 211 kB / 331.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.152, allocations: 0 / 331.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.152, allocations: 4 kB / 331.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.152, allocations: 4 kB / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.1525, allocations: 156 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1537, allocations: 0.5699 MB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1549, allocations: 310.6 kB / 332.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1552, allocations: 112.7 kB / 332.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.1552, allocations: 4 kB / 332.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.1557, allocations: 167.2 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.1557, allocations: 0 / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001139/0.1569, allocations: 365.1 kB / 332.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1569, allocations: 59.47 kB / 332.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.1572, allocations: 211.7 kB / 333.1 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1573, allocations: 41.69 kB / 333.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1574, allocations: 124.6 kB / 333.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1575, allocations: 78.91 kB / 333.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.1577, allocations: 61.69 kB / 333.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1579, allocations: 338.8 kB / 333.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.1583, allocations: 127.9 kB / 333.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1587, allocations: 165.5 kB / 334 MB, free: 12.56 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.1594, allocations: 264.6 kB / 334.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.1594, allocations: 3.938 kB / 334.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008642/0.1603, allocations: 382.6 kB / 334.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.1603, allocations: 7.125 kB / 334.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1604, allocations: 4.031 kB / 334.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1604, allocations: 4 kB / 334.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.1607, allocations: 67.89 kB / 334.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1607, allocations: 4 kB / 334.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1609, allocations: 39.66 kB / 334.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1609, allocations: 8 kB / 334.8 MB, free: 11.79 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.0001822/0.1611, allocations: 161.5 kB / 334.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.1612, allocations: 15.81 kB / 335 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.1613, allocations: 25.86 kB / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1613, allocations: 0 / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1613, allocations: 0 / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1613, allocations: 4 kB / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1626, allocations: 0.6307 MB / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1626, allocations: 4 kB / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1628, allocations: 43.95 kB / 335.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1629, allocations: 0 / 335.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.1629, allocations: 11.98 kB / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1629, allocations: 0 / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1629, allocations: 0 / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1641, allocations: 495.9 kB / 336.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1642, allocations: 96.84 kB / 336.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1642, allocations: 12 kB / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.1644, allocations: 19.97 kB / 336.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.1645, allocations: 15.98 kB / 336.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1645, allocations: 8 kB / 336.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1647, allocations: 147.2 kB / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1647, allocations: 0 / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.1652, allocations: 75.83 kB / 336.5 MB, free: 9.938 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.000731/0.166, allocations: 217.2 kB / 336.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008037/0.1668, allocations: 291.4 kB / 337 MB, free: 9.441 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1668, allocations: 0 / 337 MB, free: 9.441 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1671, allocations: 111.9 kB / 337.1 MB, free: 9.332 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1675, allocations: 31.98 kB / 337.2 MB, free: 9.301 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1686, allocations: 0.5065 MB / 337.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.169, allocations: 0.7359 MB / 338.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1692, allocations: 33.94 kB / 338.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.1693, allocations: 23.44 kB / 338.5 MB, free: 7.949 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1693, allocations: 3.938 kB / 338.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of Templates: time 0.008162/0.1775, allocations: 2.968 MB / 341.4 MB, free: 4.977 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)