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.0008264/0.0008264, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008259/0.0008259, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8489/0.8489, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.01419/0.01419, allocations: 3.139 MB / 263.1 MB, free: 10.28 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.072e-06/1.072e-06, allocations: 0 / 387 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.842e-05, allocations: 6.219 kB / 387 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001879/0.001898, allocations: 1.529 MB / 388.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003294, allocations: 1.106 MB / 389.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.003346, allocations: 7.938 kB / 389.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.706e-05/0.003443, allocations: 15.8 kB / 389.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.003516, allocations: 23.78 kB / 389.7 MB, free: 9.055 MB / 362.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.0005198/0.004036, allocations: 263.1 kB / 389.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.004189, allocations: 171.6 kB / 390.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.004249, allocations: 13.28 kB / 390.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.004343, allocations: 79.8 kB / 390.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.004407, allocations: 43.89 kB / 390.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004426, allocations: 15.94 kB / 390.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.004679, allocations: 275.4 kB / 390.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.004729, allocations: 19.92 kB / 390.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.004773, allocations: 43.84 kB / 390.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.00508, allocations: 327.2 kB / 390.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005082, allocations: 0 / 390.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005082, allocations: 0 / 390.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005086, allocations: 0 / 390.9 MB, free: 7.824 MB / 362.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.001167/0.006253, allocations: 1.251 MB / 392.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.006282, allocations: 8.031 kB / 392.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.006486, allocations: 52.73 kB / 392.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.006648, allocations: 154.3 kB / 392.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006667, allocations: 8.375 kB / 392.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.006687, allocations: 12.38 kB / 392.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.006958, allocations: 203.8 kB / 392.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.006965, allocations: 192 / 392.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.006977, allocations: 8.359 kB / 392.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.006981, allocations: 3.938 kB / 392.6 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.007183, allocations: 181.5 kB / 392.8 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.007509, allocations: 288.4 kB / 393.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.007733, allocations: 192.1 kB / 393.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.007882, allocations: 158.5 kB / 393.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.007895, allocations: 4 kB / 393.4 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.008143, allocations: 341.9 kB / 393.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.008144, allocations: 0 / 393.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006222/0.008766, allocations: 0.5453 MB / 394.3 MB, free: 4.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.008805, allocations: 85.11 kB / 394.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.008907, allocations: 175.2 kB / 394.5 MB, free: 3.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.008919, allocations: 25.7 kB / 394.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.008962, allocations: 104.4 kB / 394.7 MB, free: 3.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.008988, allocations: 39.7 kB / 394.7 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.009035, allocations: 45.69 kB / 394.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.009112, allocations: 322.8 kB / 395.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.009245, allocations: 133.6 kB / 395.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.009371, allocations: 141.6 kB / 395.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.009625, allocations: 283.1 kB / 395.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.009626, allocations: 8 kB / 395.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003228/0.009949, allocations: 344.9 kB / 395.9 MB, free: 2.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.009993, allocations: 49.62 kB / 396 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009997, allocations: 64 / 396 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01001, allocations: 4 kB / 396 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.01012, allocations: 28.03 kB / 396 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01012, allocations: 3.938 kB / 396 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.01019, allocations: 19.98 kB / 396.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.01022, allocations: 23.97 kB / 396.1 MB, free: 2.34 MB / 362.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.0001158/0.01034, allocations: 187.4 kB / 396.3 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.01038, allocations: 19.84 kB / 396.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.01041, allocations: 17.45 kB / 396.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01041, allocations: 0 / 396.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01041, allocations: 0 / 396.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01042, allocations: 0 / 396.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.469e-05/0.01051, allocations: 149.3 kB / 396.4 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01051, allocations: 4 kB / 396.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.01057, allocations: 15.98 kB / 396.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01057, allocations: 4 kB / 396.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01059, allocations: 11.92 kB / 396.5 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01059, allocations: 0 / 396.5 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01059, allocations: 0 / 396.5 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.01122, allocations: 0.6644 MB / 397.1 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.01124, allocations: 16.03 kB / 397.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.01126, allocations: 15.94 kB / 397.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.01131, allocations: 15.98 kB / 397.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.01136, allocations: 11.98 kB / 397.2 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.01138, allocations: 19.97 kB / 397.2 MB, free: 1.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.01144, allocations: 120 kB / 397.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01144, allocations: 0 / 397.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.01165, allocations: 95.8 kB / 397.4 MB, free: 0.8984 MB / 362.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.0003477/0.012, allocations: 280.1 kB / 397.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005757/0.01258, allocations: 422.5 kB / 398.1 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01258, allocations: 4 kB / 398.1 MB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.01278, allocations: 257 kB / 398.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.01291, allocations: 16 kB / 398.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.01344, allocations: 453.3 kB / 398.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.0135, allocations: 101.2 kB / 398.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.01353, allocations: 20.48 kB / 398.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01353, allocations: 0 / 398.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of Templates: time 0.003518/0.01705, allocations: 3.199 MB / 402.1 MB, free: 12.13 MB / 378.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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.287167152389884] Failed to read output from testmodel.py, exit status != 0: 0.021435009315609932 0.029501202 0.022918797 Calling exit ...