Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005712/0.005712, allocations: 172.7 kB / 16.26 MB, free: 6.676 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000554/0.0005542, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3378, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001814/0.3396, allocations: 1.23 MB / 328.3 MB, free: 440 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3408, allocations: 0.5701 MB / 328.8 MB, free: 16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.3409, allocations: 5.188 kB / 328.8 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.341, allocations: 3.938 kB / 328.8 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.3411, allocations: 18.09 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3417, allocations: 124.2 kB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3419, allocations: 108.6 kB / 329.1 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.342, allocations: 7.094 kB / 329.1 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.3421, allocations: 48.36 kB / 329.1 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.3422, allocations: 55.19 kB / 329.2 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3422, allocations: 5.5 kB / 329.2 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.3425, allocations: 119.8 kB / 329.3 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3425, allocations: 28.03 kB / 329.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.3426, allocations: 78.11 kB / 329.4 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.343, allocations: 206 kB / 329.6 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.343, allocations: 1.406 kB / 329.6 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3431, allocations: 3.938 kB / 329.6 MB, free: 15.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3431, allocations: 0 / 329.6 MB, free: 15.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008128/0.3439, allocations: 441.2 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.344, allocations: 9.406 kB / 330.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.3444, allocations: 38.56 kB / 330.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3446, allocations: 199.7 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.3446, allocations: 7.125 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3447, allocations: 5.312 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.345, allocations: 123.6 kB / 330.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.345, allocations: 192 / 330.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.345, allocations: 17.03 kB / 330.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.345, allocations: 5.062 kB / 330.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.3453, allocations: 60.03 kB / 330.5 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.3461, allocations: 379.2 kB / 330.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.3464, allocations: 148.9 kB / 331 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.3466, allocations: 55.52 kB / 331.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3466, allocations: 5.656 kB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.3471, allocations: 152.7 kB / 331.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3471, allocations: 0 / 331.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007407/0.3478, allocations: 242.7 kB / 331.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.3479, allocations: 97.56 kB / 331.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3482, allocations: 174.7 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.3482, allocations: 49.55 kB / 331.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.3483, allocations: 105.8 kB / 331.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3483, allocations: 37.86 kB / 331.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.3484, allocations: 33.33 kB / 332 MB, free: 13.47 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3486, allocations: 331.4 kB / 332.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.3488, allocations: 103.9 kB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.3491, allocations: 139.7 kB / 332.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.3496, allocations: 224.2 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3496, allocations: 0 / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005943/0.3502, allocations: 307.2 kB / 333 MB, free: 12.76 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3502, allocations: 9.781 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3502, allocations: 0 / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.3503, allocations: 2.125 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3504, allocations: 30.77 kB / 333.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3505, allocations: 1 kB / 333.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.3506, allocations: 28.91 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3506, allocations: 6.344 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001743/0.3508, allocations: 153.8 kB / 333.3 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3508, allocations: 14.44 kB / 333.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3508, allocations: 12.47 kB / 333.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3509, allocations: 1.188 kB / 333.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3509, allocations: 1.125 kB / 333.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3509, allocations: 3.984 kB / 333.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3511, allocations: 211.3 kB / 333.5 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3511, allocations: 1.094 kB / 333.5 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3512, allocations: 12.12 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3512, allocations: 1.094 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3512, allocations: 8.984 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3512, allocations: 0.9688 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.3512, allocations: 5.031 kB / 333.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.3517, allocations: 235.7 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.3518, allocations: 97.3 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.3518, allocations: 6.438 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.3519, allocations: 9.328 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.3519, allocations: 13.98 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.352, allocations: 3.312 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3521, allocations: 132.4 kB / 334 MB, free: 11.94 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3521, allocations: 0 / 334 MB, free: 11.94 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.3525, allocations: 50.36 kB / 334.1 MB, free: 11.93 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006144/0.3531, allocations: 228.2 kB / 334.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.3535, allocations: 199.7 kB / 334.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3536, allocations: 4.125 kB / 334.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3537, allocations: 59.98 kB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.3539, allocations: 12.61 kB / 334.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.3545, allocations: 287 kB / 334.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3548, allocations: 0.7121 MB / 335.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.3549, allocations: 12.88 kB / 335.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.355, allocations: 23.42 kB / 335.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.355, allocations: 0 / 335.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of Templates: time 0.005602/0.3606, allocations: 1.982 MB / 337.6 MB, free: 8.375 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)