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.001032/0.001032, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001149/0.001149, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.01744/0.01744, allocations: 3.145 MB / 264.2 MB, free: 9.875 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.503e-06/1.503e-06, allocations: 0 / 334.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.962e-05, allocations: 2.312 kB / 334.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001995/0.002014, allocations: 1.565 MB / 336.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.003586, allocations: 1.141 MB / 337.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.003683, allocations: 0 / 337.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.003821, allocations: 19.8 kB / 337.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.00393, allocations: 15.81 kB / 337.4 MB, free: 14.05 MB / 314.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.0009157/0.004845, allocations: 267 kB / 337.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.005071, allocations: 167.6 kB / 337.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.005154, allocations: 13.3 kB / 337.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.005278, allocations: 75.81 kB / 337.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.005361, allocations: 43.88 kB / 338 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.005382, allocations: 12 kB / 338 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.005739, allocations: 279.4 kB / 338.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.005783, allocations: 23.86 kB / 338.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.00583, allocations: 35.91 kB / 338.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.006202, allocations: 307 kB / 338.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006206, allocations: 0 / 338.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006206, allocations: 0 / 338.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.006211, allocations: 0 / 338.6 MB, free: 12.84 MB / 314.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.0009499/0.007161, allocations: 1.05 MB / 339.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.007199, allocations: 12.03 kB / 339.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.007463, allocations: 64.72 kB / 339.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.007648, allocations: 177.8 kB / 339.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.007668, allocations: 8.312 kB / 339.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.007687, allocations: 8.375 kB / 339.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.007873, allocations: 139.9 kB / 340.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.00788, allocations: 192 / 340.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007891, allocations: 4.375 kB / 340.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.007897, allocations: 7.938 kB / 340.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.007982, allocations: 89.66 kB / 340.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.00831, allocations: 312.3 kB / 340.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.008439, allocations: 116.7 kB / 340.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.008506, allocations: 93.41 kB / 340.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.008519, allocations: 0 / 340.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.008697, allocations: 270.7 kB / 340.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.008698, allocations: 0 / 340.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003713/0.00907, allocations: 362.5 kB / 341.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.009107, allocations: 89.11 kB / 341.4 MB, free: 9.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.009216, allocations: 218.5 kB / 341.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.009235, allocations: 29.7 kB / 341.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.009291, allocations: 151.2 kB / 341.8 MB, free: 9.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.009321, allocations: 35.69 kB / 341.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.009377, allocations: 55.31 kB / 341.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.009497, allocations: 0.4962 MB / 342.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.009565, allocations: 69.67 kB / 342.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.009619, allocations: 73.67 kB / 342.5 MB, free: 8.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.009741, allocations: 162 kB / 342.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.009743, allocations: 4 kB / 342.7 MB, free: 8.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002074/0.009951, allocations: 236.9 kB / 342.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.009987, allocations: 45.69 kB / 342.9 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.009993, allocations: 3.938 kB / 342.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.01, allocations: 0 / 342.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.01008, allocations: 19.98 kB / 343 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01008, allocations: 0 / 343 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.01013, allocations: 23.81 kB / 343 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.01016, allocations: 23.97 kB / 343 MB, free: 8.121 MB / 314.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,globalSeed.id_impure,discreteNoise.localSeed,discreteNoise.actualGlobalSeed,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.0001226/0.01028, allocations: 222.2 kB / 343.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.01033, allocations: 27.89 kB / 343.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.01036, allocations: 13.41 kB / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01036, allocations: 0 / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01036, allocations: 0 / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01037, allocations: 7.984 kB / 343.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.01047, allocations: 133.2 kB / 343.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01047, allocations: 0 / 343.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.01051, allocations: 11.98 kB / 343.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.01052, allocations: 0 / 343.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01053, allocations: 16 kB / 343.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01053, allocations: 0 / 343.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01054, allocations: 3.938 kB / 343.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.01095, allocations: 457.2 kB / 343.9 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.01097, allocations: 12.03 kB / 343.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.011, allocations: 19.98 kB / 343.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.01104, allocations: 8 kB / 343.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.01108, allocations: 15.92 kB / 343.9 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.01111, allocations: 19.97 kB / 343.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.261e-05/0.01117, allocations: 160.8 kB / 344.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01117, allocations: 4.031 kB / 344.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01146, allocations: 87.86 kB / 344.2 MB, free: 6.848 MB / 314.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.0004337/0.01189, allocations: 285.2 kB / 344.5 MB, free: 6.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.01215, allocations: 293.5 kB / 344.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01215, allocations: 0 / 344.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.01228, allocations: 188.7 kB / 344.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.01245, allocations: 24.2 kB / 345 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.01292, allocations: 365.2 kB / 345.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01296, allocations: 71.33 kB / 345.4 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.013, allocations: 16.42 kB / 345.4 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01313, allocations: 118.2 kB / 345.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01313, allocations: 0 / 345.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of Templates: time 0.006114/0.01925, allocations: 3.9 MB / 349.4 MB, free: 1.59 MB / 314.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.1038604211062193]