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.0007414/0.0007414, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001847, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007496/0.0007496, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.00179, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.135/1.135, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.238, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.06528/0.06528, allocations: 3.154 MB / 247.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002989/0.06827, allocations: 1.196 MB / 248.3 MB, free: 10.7 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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.282e-06/1.282e-06, allocations: 0 / 249.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.283e-05, allocations: 6.25 kB / 249.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.00195/0.001972, allocations: 1.592 MB / 251.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003442, allocations: 1.191 MB / 252.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.003528, allocations: 7.938 kB / 252.4 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.626e-05/0.003614, allocations: 31.66 kB / 252.4 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.003675, allocations: 27.73 kB / 252.4 MB, free: 6.574 MB / 250.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.0006383/0.004313, allocations: 243 kB / 252.7 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.004574, allocations: 263.4 kB / 252.9 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.004613, allocations: 18.45 kB / 252.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.004892, allocations: 167.5 kB / 253.1 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.004987, allocations: 59.86 kB / 253.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.005013, allocations: 12 kB / 253.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.005358, allocations: 211.5 kB / 253.4 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.005401, allocations: 23.92 kB / 253.4 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.00546, allocations: 43.86 kB / 253.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.005789, allocations: 255.1 kB / 253.7 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.005803, allocations: 0 / 253.7 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005804, allocations: 0 / 253.7 MB, free: 5.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.005815, allocations: 4 kB / 253.7 MB, free: 5.297 MB / 250.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.001223/0.007039, allocations: 1.547 MB / 255.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.007067, allocations: 8.031 kB / 255.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.007504, allocations: 192.4 kB / 255.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.007714, allocations: 198.1 kB / 255.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.007732, allocations: 4.375 kB / 255.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.007749, allocations: 12.38 kB / 255.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.007973, allocations: 239.2 kB / 255.9 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.007979, allocations: 192 / 255.9 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007992, allocations: 8.359 kB / 255.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007996, allocations: 3.938 kB / 255.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.008132, allocations: 192.9 kB / 256.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.008246, allocations: 99.42 kB / 256.2 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.00838, allocations: 200.8 kB / 256.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.008485, allocations: 173.1 kB / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.00849, allocations: 0 / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.00876, allocations: 493.3 kB / 257 MB, free: 1.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 8.62e-07/0.008761, allocations: 4 kB / 257 MB, free: 1.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004266/0.009187, allocations: 0.5873 MB / 257.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.009241, allocations: 156.4 kB / 257.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009356, allocations: 210.4 kB / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.00937, allocations: 29.7 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.009409, allocations: 100.6 kB / 258.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.009454, allocations: 47.61 kB / 258.1 MB, free: 492 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.009511, allocations: 49.66 kB / 258.2 MB, free: 436 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.009604, allocations: 334.8 kB / 258.5 MB, free: 92 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.00973, allocations: 142.4 kB / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.009822, allocations: 143.9 kB / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.01002, allocations: 322.1 kB / 259.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01002, allocations: 0 / 259.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002386/0.01026, allocations: 358.5 kB / 259.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.01032, allocations: 87.36 kB / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01032, allocations: 0 / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.01033, allocations: 7.938 kB / 259.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.01042, allocations: 15.98 kB / 259.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01042, allocations: 4 kB / 259.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.01047, allocations: 27.83 kB / 259.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.01051, allocations: 27.95 kB / 259.6 MB, free: 14.88 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,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,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.000133/0.01064, allocations: 234.6 kB / 259.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.01068, allocations: 35.98 kB / 259.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.0107, allocations: 17.45 kB / 259.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.0107, allocations: 3.938 kB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.0107, allocations: 0 / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01071, allocations: 3.938 kB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.01082, allocations: 125.8 kB / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01082, allocations: 0 / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.01086, allocations: 12 kB / 260 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.01092, allocations: 43.83 kB / 260.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01092, allocations: 0 / 260.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01094, allocations: 19.97 kB / 260.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01094, allocations: 3.938 kB / 260.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01094, allocations: 0 / 260.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.0113, allocations: 0.5205 MB / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.01134, allocations: 19.98 kB / 260.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.01139, allocations: 15.98 kB / 260.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.01144, allocations: 15.97 kB / 260.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.01148, allocations: 40.59 kB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.01152, allocations: 66.17 kB / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01152, allocations: 0 / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.01174, allocations: 83.86 kB / 260.9 MB, free: 13.54 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.0005927/0.01233, allocations: 324.9 kB / 261.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.01284, allocations: 0.5183 MB / 261.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.01285, allocations: 4 kB / 261.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.01316, allocations: 374.9 kB / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01338, allocations: 71.78 kB / 262.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.01418, allocations: 0.5213 MB / 262.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.01422, allocations: 75.33 kB / 262.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.01426, allocations: 12.48 kB / 262.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.01442, allocations: 131.3 kB / 262.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01442, allocations: 4.125 kB / 262.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Templates: time 0.005934/0.02036, allocations: 4.672 MB / 267.6 MB, free: 6.848 MB / 266.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.8471057564020157]