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.001538/0.001538, 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.001216/0.001216, allocations: 173.3 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.132/1.132, 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.01585/0.01585, allocations: 3.151 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 1.743e-06/1.743e-06, allocations: 0 / 333.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.756e-05/3.93e-05, allocations: 6.312 kB / 333.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.003463/0.003502, allocations: 1.564 MB / 335 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.005693, allocations: 1.145 MB / 336.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.0058, allocations: 3.938 kB / 336.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.005921, allocations: 11.86 kB / 336.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.006013, allocations: 35.72 kB / 336.2 MB, free: 14.32 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.0009204/0.006933, allocations: 255.1 kB / 336.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.007124, allocations: 167.6 kB / 336.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.007193, allocations: 17.23 kB / 336.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.007314, allocations: 83.8 kB / 336.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.00739, allocations: 43.88 kB / 336.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.007414, allocations: 8 kB / 336.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.007802, allocations: 279.4 kB / 337 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.007833, allocations: 15.94 kB / 337.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.00788, allocations: 43.84 kB / 337.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.008215, allocations: 307.1 kB / 337.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.008217, allocations: 0 / 337.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008218, allocations: 0 / 337.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.008223, allocations: 0 / 337.4 MB, free: 13.12 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.0009781/0.009201, allocations: 1.038 MB / 338.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.009236, allocations: 8.031 kB / 338.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.009497, allocations: 56.73 kB / 338.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.009694, allocations: 181.8 kB / 338.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.00971, allocations: 8.375 kB / 338.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.00973, allocations: 8.375 kB / 338.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.009951, allocations: 158.5 kB / 338.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.009959, allocations: 192 / 338.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.009974, allocations: 8.359 kB / 338.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.009984, allocations: 3.938 kB / 338.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.0101, allocations: 113.6 kB / 339 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.01046, allocations: 343.5 kB / 339.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.01061, allocations: 128.7 kB / 339.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.01085, allocations: 113.4 kB / 339.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.01086, allocations: 0 / 339.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.01106, allocations: 279.7 kB / 339.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.01106, allocations: 3.938 kB / 339.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000448/0.01151, allocations: 410.6 kB / 340.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.01155, allocations: 89.11 kB / 340.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.01167, allocations: 218.5 kB / 340.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01169, allocations: 29.7 kB / 340.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.01175, allocations: 151.2 kB / 340.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.01178, allocations: 31.7 kB / 340.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.01184, allocations: 55.34 kB / 340.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01196, allocations: 0.4923 MB / 341.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.01204, allocations: 85.67 kB / 341.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.01212, allocations: 89.73 kB / 341.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.01226, allocations: 194.1 kB / 341.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01226, allocations: 0 / 341.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002394/0.0125, allocations: 257 kB / 341.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.01253, allocations: 49.62 kB / 341.9 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01254, allocations: 4 kB / 341.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01255, allocations: 0 / 341.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.01264, allocations: 19.98 kB / 342 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01264, allocations: 4 kB / 342 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.01269, allocations: 23.81 kB / 342 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.01272, allocations: 19.97 kB / 342 MB, free: 8.176 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,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.0001048/0.01282, allocations: 210.2 kB / 342.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.01287, allocations: 35.78 kB / 342.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.0129, allocations: 17.47 kB / 342.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0129, allocations: 0 / 342.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.0129, allocations: 0 / 342.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01291, allocations: 0 / 342.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.01301, allocations: 164.6 kB / 342.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01301, allocations: 0 / 342.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.01306, allocations: 11.98 kB / 342.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01306, allocations: 3.938 kB / 342.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01307, allocations: 7.938 kB / 342.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01307, allocations: 4 kB / 342.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01308, allocations: 0 / 342.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.01353, allocations: 0.5046 MB / 343 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.01355, allocations: 11.91 kB / 343 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.01384, allocations: 15.92 kB / 343 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.01388, allocations: 8 kB / 343 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01393, allocations: 15.97 kB / 343 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.01395, allocations: 27.91 kB / 343 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.01402, allocations: 160.8 kB / 343.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01402, allocations: 0 / 343.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.01425, allocations: 83.88 kB / 343.3 MB, free: 6.824 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.0004673/0.01472, allocations: 295.1 kB / 343.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.01502, allocations: 314.4 kB / 343.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01502, allocations: 4 kB / 343.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01517, allocations: 208.7 kB / 344.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01532, allocations: 28.14 kB / 344.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.01581, allocations: 373.1 kB / 344.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.01585, allocations: 67.34 kB / 344.5 MB, free: 5.492 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.01588, allocations: 16.48 kB / 344.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.01591, allocations: 16.48 kB / 344.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01591, allocations: 0 / 344.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of Templates: time 0.005564/0.02147, allocations: 3.861 MB / 348.4 MB, free: 1.637 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.6489001782611012]