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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02632/0.02632, allocations: 3.933 MB / 308.4 MB, free: 3.043 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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 0.002007/0.002007, allocations: 63.89 kB / 429.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 52.9 MB / 482.3 MB, free: 27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002512/0.3024, allocations: 1.541 MB / 483.8 MB, free: 25.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3045, allocations: 1.14 MB / 485 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.3046, allocations: 0 / 485 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.3048, allocations: 14.78 kB / 485 MB, free: 25.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.3048, allocations: 15.25 kB / 485 MB, free: 25.15 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.000844/0.3057, allocations: 252.6 kB / 485.2 MB, free: 25.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.3058, allocations: 154.9 kB / 485.4 MB, free: 24.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.3059, allocations: 11.36 kB / 485.4 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.306, allocations: 62.72 kB / 485.5 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.3061, allocations: 59.39 kB / 485.5 MB, free: 24.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3061, allocations: 13.09 kB / 485.5 MB, free: 24.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.3065, allocations: 256 kB / 485.8 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.3065, allocations: 17.33 kB / 485.8 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.3066, allocations: 57.5 kB / 485.8 MB, free: 24.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.3069, allocations: 283.5 kB / 486.1 MB, free: 24.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3069, allocations: 0 / 486.1 MB, free: 24.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3069, allocations: 0 / 486.1 MB, free: 24.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3069, allocations: 0 / 486.1 MB, free: 24.69 MB / 366.1 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.001444/0.3084, allocations: 1.35 MB / 487.5 MB, free: 23.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3084, allocations: 13.42 kB / 487.5 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.3088, allocations: 44.59 kB / 487.5 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3091, allocations: 216.7 kB / 487.7 MB, free: 23.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3091, allocations: 3.719 kB / 487.7 MB, free: 23.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3091, allocations: 10.56 kB / 487.8 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3095, allocations: 166.6 kB / 487.9 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3095, allocations: 4 kB / 487.9 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3095, allocations: 11.22 kB / 487.9 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3095, allocations: 0 / 487.9 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3098, allocations: 132.2 kB / 488.1 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3104, allocations: 376.4 kB / 488.4 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.3107, allocations: 144.7 kB / 488.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3109, allocations: 113.8 kB / 488.7 MB, free: 23.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3109, allocations: 3.125 kB / 488.7 MB, free: 23.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.3113, allocations: 298 kB / 489 MB, free: 23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3113, allocations: 0 / 489 MB, free: 23 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009191/0.3122, allocations: 474.5 kB / 489.4 MB, free: 22.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3123, allocations: 92.73 kB / 489.5 MB, free: 22.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3124, allocations: 158.6 kB / 489.7 MB, free: 22.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3124, allocations: 29.7 kB / 489.7 MB, free: 22.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3125, allocations: 105.7 kB / 489.8 MB, free: 22.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.3125, allocations: 37.84 kB / 489.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.3126, allocations: 41.75 kB / 489.9 MB, free: 22.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.3126, allocations: 330.2 kB / 490.2 MB, free: 22.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3128, allocations: 87.41 kB / 490.3 MB, free: 22.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.313, allocations: 101 kB / 490.4 MB, free: 22.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.3134, allocations: 275.6 kB / 490.7 MB, free: 21.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3134, allocations: 1.25 kB / 490.7 MB, free: 21.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005459/0.314, allocations: 289.3 kB / 491 MB, free: 21.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.314, allocations: 51.44 kB / 491 MB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.314, allocations: 1.094 kB / 491 MB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3141, allocations: 4 kB / 491 MB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3142, allocations: 26.14 kB / 491 MB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3142, allocations: 1.219 kB / 491 MB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.3143, allocations: 19.98 kB / 491.1 MB, free: 21.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.3144, allocations: 23.05 kB / 491.1 MB, free: 21.75 MB / 366.1 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 (11): * Single equations (assignments): 10 * 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.0001721/0.3146, allocations: 194.5 kB / 491.3 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.3146, allocations: 17.28 kB / 491.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.3147, allocations: 17.55 kB / 491.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3147, allocations: 1.125 kB / 491.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3147, allocations: 0 / 491.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3147, allocations: 1.781 kB / 491.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3149, allocations: 223.2 kB / 491.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3149, allocations: 64 / 491.5 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.315, allocations: 17.53 kB / 491.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.315, allocations: 1.062 kB / 491.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.315, allocations: 7.562 kB / 491.6 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.315, allocations: 1.125 kB / 491.6 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.315, allocations: 7.938 kB / 491.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3162, allocations: 0.5911 MB / 492.2 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.3163, allocations: 93.34 kB / 492.2 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.3163, allocations: 13.05 kB / 492.3 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.3164, allocations: 17.11 kB / 492.3 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.3165, allocations: 13.48 kB / 492.3 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.3166, allocations: 20.67 kB / 492.3 MB, free: 20.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3167, allocations: 120.2 kB / 492.4 MB, free: 20.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3167, allocations: 0 / 492.4 MB, free: 20.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.3172, allocations: 85.72 kB / 492.5 MB, free: 20.87 MB / 366.1 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.0006762/0.3179, allocations: 241.8 kB / 492.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.3186, allocations: 344.7 kB / 493.1 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3186, allocations: 0 / 493.1 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.3189, allocations: 225.7 kB / 493.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3192, allocations: 23.7 kB / 493.3 MB, free: 20.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.32, allocations: 371.7 kB / 493.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3202, allocations: 0.7097 MB / 494.4 MB, free: 19.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.3202, allocations: 12.12 kB / 494.4 MB, free: 19.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.3203, allocations: 18.72 kB / 494.4 MB, free: 19.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3203, allocations: 0 / 494.4 MB, free: 19.57 MB / 366.1 MB Notification: Performance of Templates: time 0.00807/0.3283, allocations: 3.217 MB / 497.6 MB, free: 19.23 MB / 366.1 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.962577253580093]