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.001295/0.001295, allocations: 93.06 kB / 19.65 MB, free: 280 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.001266/0.001266, allocations: 169 kB / 23.02 MB, free: 1.551 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.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.01614/0.01614, allocations: 3.155 MB / 263.1 MB, free: 10.07 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 2.083e-06/2.083e-06, allocations: 0 / 333.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.771e-05, allocations: 5.125 kB / 333.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002493/0.002521, allocations: 1.557 MB / 335 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.004417, allocations: 1.149 MB / 336.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.004498, allocations: 0 / 336.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.004657, allocations: 23.8 kB / 336.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.004767, allocations: 19.84 kB / 336.2 MB, free: 13.28 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.0006721/0.005439, allocations: 262.9 kB / 336.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.005582, allocations: 171.6 kB / 336.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.005658, allocations: 9.312 kB / 336.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.005754, allocations: 83.78 kB / 336.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.00582, allocations: 43.88 kB / 336.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.00584, allocations: 8 kB / 336.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.006079, allocations: 283.4 kB / 337 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.00611, allocations: 11.94 kB / 337 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.006155, allocations: 43.91 kB / 337.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.00644, allocations: 311 kB / 337.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006442, allocations: 0 / 337.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006443, allocations: 0 / 337.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.006448, allocations: 0 / 337.4 MB, free: 12.07 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.0007377/0.007186, allocations: 1.034 MB / 338.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.007225, allocations: 11.97 kB / 338.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.007456, allocations: 56.73 kB / 338.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.007609, allocations: 173.8 kB / 338.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007625, allocations: 8.375 kB / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.007648, allocations: 4.375 kB / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.007846, allocations: 167.8 kB / 338.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007854, allocations: 192 / 338.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.007867, allocations: 4.375 kB / 338.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007874, allocations: 3.938 kB / 338.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.007973, allocations: 113.6 kB / 339 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.00831, allocations: 335.7 kB / 339.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.008435, allocations: 132.7 kB / 339.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.00851, allocations: 113.4 kB / 339.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.008523, allocations: 0 / 339.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.00867, allocations: 283.5 kB / 339.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.62e-07/0.00867, allocations: 0 / 339.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003654/0.009036, allocations: 418.6 kB / 340.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.009063, allocations: 93.05 kB / 340.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.009151, allocations: 222.5 kB / 340.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.009164, allocations: 29.7 kB / 340.6 MB, free: 8.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.009201, allocations: 151.2 kB / 340.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.009225, allocations: 31.7 kB / 340.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.009273, allocations: 55.34 kB / 340.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.009323, allocations: 0.4923 MB / 341.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.009391, allocations: 85.67 kB / 341.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.009449, allocations: 82.23 kB / 341.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.009567, allocations: 193.2 kB / 341.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009569, allocations: 0 / 341.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001881/0.009757, allocations: 260.1 kB / 341.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.009784, allocations: 49.62 kB / 341.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.009788, allocations: 3.938 kB / 341.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.009802, allocations: 4 kB / 341.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.009891, allocations: 19.98 kB / 342 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.009896, allocations: 0 / 342 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.009935, allocations: 15.92 kB / 342 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.009965, allocations: 19.97 kB / 342 MB, free: 7.133 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 7.387e-05/0.01004, allocations: 218.2 kB / 342.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.01008, allocations: 39.78 kB / 342.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.0101, allocations: 5.469 kB / 342.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01011, allocations: 4 kB / 342.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01011, allocations: 7.984 kB / 342.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.01011, allocations: 0 / 342.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.326e-05/0.01019, allocations: 164.5 kB / 342.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.01019, allocations: 0 / 342.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.01023, allocations: 15.98 kB / 342.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01023, allocations: 0 / 342.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01025, allocations: 7.938 kB / 342.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.01025, allocations: 0 / 342.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01025, allocations: 4.062 kB / 342.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.01063, allocations: 0.5011 MB / 343 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.01064, allocations: 11.91 kB / 343 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01067, allocations: 19.92 kB / 343 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/0.01071, allocations: 8 kB / 343 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.01076, allocations: 11.98 kB / 343 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.01078, allocations: 23.95 kB / 343 MB, free: 6.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.01082, allocations: 160.8 kB / 343.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 343.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000198/0.01102, allocations: 83.88 kB / 343.3 MB, free: 5.77 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.0004285/0.01145, allocations: 291.8 kB / 343.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01171, allocations: 326.3 kB / 343.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01171, allocations: 0 / 343.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01183, allocations: 204.7 kB / 344.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.01199, allocations: 34.98 kB / 344.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.01244, allocations: 378.6 kB / 344.5 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.291e-05/0.01246, allocations: 67.34 kB / 344.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.0125, allocations: 16.48 kB / 344.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.01252, allocations: 16.48 kB / 344.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01252, allocations: 0 / 344.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of Templates: time 0.004434/0.01696, allocations: 3.494 MB / 348.1 MB, free: 0.9336 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: 3.203822599258274]