Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.0008983/0.0008983, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009985/0.0009985, allocations: 169 kB / 23.49 MB, free: 1.055 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.995/0.995, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.0163/0.0163, allocations: 3.161 MB / 263.4 MB, free: 10.09 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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 333.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.763e-05, allocations: 2.312 kB / 333.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002566/0.002594, allocations: 1.554 MB / 335 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.004552, allocations: 1.18 MB / 336.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.004646, allocations: 3.938 kB / 336.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.004796, allocations: 35.67 kB / 336.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.004865, allocations: 27.78 kB / 336.3 MB, free: 13.54 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.0007847/0.005649, allocations: 247 kB / 336.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.005954, allocations: 275.4 kB / 336.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.006009, allocations: 9.812 kB / 336.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.006272, allocations: 139.6 kB / 336.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/0.006369, allocations: 67.84 kB / 337 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.006402, allocations: 12 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.006744, allocations: 207.4 kB / 337.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.006789, allocations: 23.86 kB / 337.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.006865, allocations: 55.89 kB / 337.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.007271, allocations: 287.1 kB / 337.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007274, allocations: 0 / 337.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007275, allocations: 0 / 337.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.00728, allocations: 0 / 337.6 MB, free: 12.23 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001529/0.008809, allocations: 1.631 MB / 339.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.00885, allocations: 12.03 kB / 339.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.009468, allocations: 120.5 kB / 339.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.00975, allocations: 212.9 kB / 339.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.009775, allocations: 4.375 kB / 339.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.0098, allocations: 12.36 kB / 339.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.01014, allocations: 272.8 kB / 339.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.01015, allocations: 192 / 339.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.01017, allocations: 4.375 kB / 339.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.01018, allocations: 7.938 kB / 339.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.0104, allocations: 199.3 kB / 340 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.0106, allocations: 188.2 kB / 340.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.01081, allocations: 245.6 kB / 340.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.01099, allocations: 202.7 kB / 340.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.011, allocations: 0 / 340.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.01136, allocations: 0.5058 MB / 341.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.01136, allocations: 0 / 341.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007984/0.01216, allocations: 0.7025 MB / 341.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.01222, allocations: 152.6 kB / 342 MB, free: 7.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.0124, allocations: 261.8 kB / 342.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01242, allocations: 33.7 kB / 342.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.01247, allocations: 163.3 kB / 342.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.01252, allocations: 51.53 kB / 342.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.01261, allocations: 59.34 kB / 342.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.01267, allocations: 0.504 MB / 343.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.01283, allocations: 151.6 kB / 343.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.01296, allocations: 147.8 kB / 343.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.01325, allocations: 335.5 kB / 343.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01325, allocations: 0 / 343.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004279/0.01368, allocations: 418.7 kB / 344.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.01375, allocations: 91.3 kB / 344.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01376, allocations: 0 / 344.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01377, allocations: 0 / 344.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.0139, allocations: 19.98 kB / 344.2 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.0139, allocations: 0 / 344.2 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.01398, allocations: 19.84 kB / 344.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.01404, allocations: 44.52 kB / 344.3 MB, free: 5.027 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: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001603/0.0142, allocations: 270.6 kB / 344.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.01427, allocations: 47.84 kB / 344.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.0143, allocations: 17.45 kB / 344.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.0143, allocations: 0 / 344.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01431, allocations: 0 / 344.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01431, allocations: 3.938 kB / 344.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01448, allocations: 196.4 kB / 344.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01448, allocations: 0 / 344.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.01453, allocations: 4 kB / 344.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01453, allocations: 4 kB / 344.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.01456, allocations: 19.92 kB / 344.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01456, allocations: 4 kB / 344.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01456, allocations: 0 / 344.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.01524, allocations: 0.6421 MB / 345.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.01535, allocations: 55.75 kB / 345.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.01541, allocations: 19.98 kB / 345.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.0155, allocations: 15.98 kB / 345.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.01558, allocations: 27.91 kB / 345.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.01564, allocations: 35.89 kB / 345.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.01573, allocations: 188.5 kB / 345.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01573, allocations: 0 / 345.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.01606, allocations: 79.94 kB / 345.9 MB, free: 3.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0005781/0.01664, allocations: 293.7 kB / 346.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.01718, allocations: 0.5596 MB / 346.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01718, allocations: 4 kB / 346.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.01749, allocations: 393.8 kB / 347.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01779, allocations: 39.98 kB / 347.1 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.0185, allocations: 0.5354 MB / 347.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.034e-05/0.01854, allocations: 79.19 kB / 347.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.01858, allocations: 16.42 kB / 347.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01863, allocations: 20.48 kB / 347.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01863, allocations: 0 / 347.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of Templates: time 0.008543/0.02717, allocations: 4.413 MB / 352.2 MB, free: 12.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9839527618605644]