Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.03216/0.03216, allocations: 3.161 MB / 262.7 MB, free: 10.1 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.351e-05, allocations: 9.062 kB / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002/0.002023, allocations: 1.523 MB / 334.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.00361, allocations: 1.137 MB / 335.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.003669, allocations: 3.938 kB / 335.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003792, allocations: 19.86 kB / 335.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.003878, allocations: 15.8 kB / 335.4 MB, free: 13.67 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.004536, allocations: 259 kB / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.004707, allocations: 171.6 kB / 335.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.004775, allocations: 13.31 kB / 335.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.004896, allocations: 91.66 kB / 336 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.004966, allocations: 43.88 kB / 336 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.004992, allocations: 8 kB / 336 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.005345, allocations: 271.5 kB / 336.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.005379, allocations: 19.86 kB / 336.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.005431, allocations: 35.92 kB / 336.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.00578, allocations: 331 kB / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005782, allocations: 0 / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005782, allocations: 0 / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005787, allocations: 0 / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009915/0.006779, allocations: 1.014 MB / 337.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.00681, allocations: 12.03 kB / 337.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.007121, allocations: 60.72 kB / 337.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.007303, allocations: 173 kB / 337.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.007322, allocations: 4.375 kB / 337.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.007346, allocations: 8.375 kB / 337.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.007625, allocations: 159.9 kB / 338.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007635, allocations: 192 / 338.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.00765, allocations: 8.375 kB / 338.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.007655, allocations: 7.938 kB / 338.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.007929, allocations: 137.6 kB / 338.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.008372, allocations: 347.6 kB / 338.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.008658, allocations: 172.7 kB / 338.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.008838, allocations: 145.4 kB / 338.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.008856, allocations: 4 kB / 338.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.009145, allocations: 303.7 kB / 339.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.009146, allocations: 0 / 339.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007284/0.009874, allocations: 462.7 kB / 339.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.009903, allocations: 93.05 kB / 339.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01004, allocations: 242.6 kB / 340 MB, free: 8.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.01006, allocations: 25.7 kB / 340 MB, free: 8.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.0101, allocations: 155.1 kB / 340.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01013, allocations: 39.7 kB / 340.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.0102, allocations: 63.33 kB / 340.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.01026, allocations: 0.4962 MB / 340.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01043, allocations: 105.7 kB / 340.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.01059, allocations: 101.7 kB / 340.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.01088, allocations: 229.7 kB / 341.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01088, allocations: 0 / 341.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004286/0.01131, allocations: 296.9 kB / 341.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.01134, allocations: 41.62 kB / 341.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01135, allocations: 0 / 341.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01136, allocations: 4 kB / 341.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01148, allocations: 27.97 kB / 341.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01148, allocations: 0 / 341.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.01156, allocations: 15.88 kB / 341.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.0116, allocations: 23.95 kB / 341.6 MB, free: 7.199 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001056/0.01171, allocations: 230.2 kB / 341.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.01177, allocations: 27.84 kB / 341.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.0118, allocations: 13.47 kB / 341.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0118, allocations: 0 / 341.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.0118, allocations: 3.984 kB / 341.8 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01181, allocations: 0 / 341.8 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01192, allocations: 168.5 kB / 342 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01192, allocations: 0 / 342 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.01201, allocations: 11.98 kB / 342 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01201, allocations: 0 / 342 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.01203, allocations: 19.94 kB / 342 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01203, allocations: 0 / 342 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01203, allocations: 3.938 kB / 342 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.01279, allocations: 0.5481 MB / 342.6 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.01282, allocations: 19.84 kB / 342.6 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.01286, allocations: 16.05 kB / 342.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.01294, allocations: 8 kB / 342.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.013, allocations: 15.98 kB / 342.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.01304, allocations: 31.94 kB / 342.7 MB, free: 6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.01311, allocations: 168.8 kB / 342.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 4 kB / 342.8 MB, free: 5.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.01341, allocations: 79.88 kB / 342.9 MB, free: 5.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006964/0.01411, allocations: 280 kB / 343.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.0146, allocations: 381.3 kB / 343.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.0146, allocations: 0 / 343.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.01488, allocations: 268.7 kB / 343.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.01509, allocations: 34.17 kB / 343.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.01572, allocations: 394.2 kB / 344.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.01577, allocations: 89.31 kB / 344.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01581, allocations: 16.47 kB / 344.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01585, allocations: 24.48 kB / 344.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01585, allocations: 4 kB / 344.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of Templates: time 0.006289/0.02213, allocations: 3.466 MB / 347.8 MB, free: 0.7891 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.784500933019444]