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.0008176/0.0008175, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001092/0.001092, allocations: 182 kB / 17.56 MB, free: 6.203 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.591/1.591, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.000574/0.0005745, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002347/0.1182, allocations: 1.555 MB / 329.9 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1201, allocations: 0.9904 MB / 330.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.1203, allocations: 4 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1204, allocations: 11.88 kB / 330.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1206, allocations: 23.78 kB / 330.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.1211, allocations: 159.7 kB / 331.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.1214, allocations: 207.5 kB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1216, allocations: 64.05 kB / 331.3 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1217, allocations: 79.62 kB / 331.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1219, allocations: 95.52 kB / 331.5 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1219, allocations: 12 kB / 331.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1222, allocations: 119.8 kB / 331.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.1222, allocations: 47.81 kB / 331.7 MB, free: 388 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1224, allocations: 117.1 kB / 331.8 MB, free: 264 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1227, allocations: 283.4 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1227, allocations: 0 / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1227, allocations: 0 / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1227, allocations: 0 / 332.1 MB, free: 15.98 MB / 286.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.001217/0.124, allocations: 0.5428 MB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.124, allocations: 12.03 kB / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1242, allocations: 36.64 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1245, allocations: 236.8 kB / 332.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.1246, allocations: 16.66 kB / 332.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.1246, allocations: 16.38 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.1251, allocations: 227 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1251, allocations: 0 / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1252, allocations: 4 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1252, allocations: 7.938 kB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.1257, allocations: 188 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1269, allocations: 0.5856 MB / 333.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.1281, allocations: 382.6 kB / 334.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.1285, allocations: 132.7 kB / 334.4 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1285, allocations: 15.92 kB / 334.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.1289, allocations: 183.3 kB / 334.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.993e-06/0.129, allocations: 0 / 334.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001144/0.1301, allocations: 417.1 kB / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1302, allocations: 59.41 kB / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1305, allocations: 211.8 kB / 335.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1305, allocations: 41.7 kB / 335.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1307, allocations: 132.6 kB / 335.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.1307, allocations: 67.02 kB / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.1308, allocations: 41.69 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.131, allocations: 334.8 kB / 335.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.1314, allocations: 147.9 kB / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.1318, allocations: 181.6 kB / 336.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.1325, allocations: 300.6 kB / 336.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1325, allocations: 3.938 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009002/0.1334, allocations: 418.7 kB / 336.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1335, allocations: 8 kB / 336.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1335, allocations: 0 / 336.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1335, allocations: 0 / 336.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.1339, allocations: 87.88 kB / 337 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1339, allocations: 0 / 337 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1341, allocations: 55.66 kB / 337.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1342, allocations: 12 kB / 337.1 MB, free: 10.72 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.0002244/0.1344, allocations: 145.6 kB / 337.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.1344, allocations: 19.72 kB / 337.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.1345, allocations: 21.88 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1345, allocations: 4 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1346, allocations: 0 / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1346, allocations: 7.984 kB / 337.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.136, allocations: 0.6699 MB / 337.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.136, allocations: 0 / 337.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.1363, allocations: 59.89 kB / 338 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1363, allocations: 4 kB / 338 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1363, allocations: 4 kB / 338 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1363, allocations: 3.984 kB / 338 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1363, allocations: 0 / 338 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1375, allocations: 0.5494 MB / 338.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.1375, allocations: 96.86 kB / 338.7 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.1376, allocations: 12 kB / 338.7 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1378, allocations: 31.97 kB / 338.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1378, allocations: 11.98 kB / 338.7 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1379, allocations: 11.92 kB / 338.7 MB, free: 8.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.138, allocations: 155.2 kB / 338.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.138, allocations: 0 / 338.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.1384, allocations: 71.89 kB / 338.9 MB, free: 8.75 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.0004934/0.1389, allocations: 212.3 kB / 339.2 MB, free: 8.547 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.1397, allocations: 327.8 kB / 339.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1397, allocations: 0 / 339.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.1401, allocations: 135.9 kB / 339.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1405, allocations: 23.92 kB / 339.6 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1415, allocations: 0.5343 MB / 340.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1418, allocations: 0.7359 MB / 340.9 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1419, allocations: 33.94 kB / 340.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.142, allocations: 23.44 kB / 341 MB, free: 6.691 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.142, allocations: 0 / 341 MB, free: 6.691 MB / 286.1 MB Notification: Performance of Templates: time 0.006847/0.1489, allocations: 2.917 MB / 343.9 MB, free: 3.773 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)