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.001413/0.001413, allocations: 88.72 kB / 19.44 MB, free: 352 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.001624/0.001624, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.02837/0.02837, allocations: 3.149 MB / 262.7 MB, free: 10.1 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.763e-06/1.763e-06, allocations: 0 / 332.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.527e-05, allocations: 8.641 kB / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002371/0.002407, allocations: 1.513 MB / 334.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.004339, allocations: 1.145 MB / 335.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.004461, allocations: 7.938 kB / 335.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.004643, allocations: 35.66 kB / 335.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.004732, allocations: 23.8 kB / 335.5 MB, free: 13.65 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.0008908/0.005623, allocations: 255 kB / 335.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.005945, allocations: 271.4 kB / 336 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.00599, allocations: 5.812 kB / 336 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.006284, allocations: 135.6 kB / 336.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.006389, allocations: 71.83 kB / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.006426, allocations: 12 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.00678, allocations: 203.5 kB / 336.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.006833, allocations: 31.84 kB / 336.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.006919, allocations: 51.91 kB / 336.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.007394, allocations: 323 kB / 336.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007397, allocations: 0 / 336.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007398, allocations: 4 kB / 336.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.007405, allocations: 0 / 336.8 MB, free: 12.31 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.001894/0.009299, allocations: 2.152 MB / 338.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.009338, allocations: 12.03 kB / 339 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/0.01012, allocations: 124.5 kB / 339.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.01043, allocations: 189.4 kB / 339.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.01046, allocations: 12.38 kB / 339.3 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.01049, allocations: 8.375 kB / 339.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.01093, allocations: 336.1 kB / 339.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01094, allocations: 192 / 339.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.01096, allocations: 8.375 kB / 339.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.01096, allocations: 7.938 kB / 339.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.01133, allocations: 299.2 kB / 339.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.01155, allocations: 182 kB / 340.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.01187, allocations: 300.7 kB / 340.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.01213, allocations: 265 kB / 340.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.01214, allocations: 4 kB / 340.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/0.01261, allocations: 0.5884 MB / 341.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.01261, allocations: 0 / 341.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001126/0.01374, allocations: 0.9407 MB / 342.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.01379, allocations: 152.4 kB / 342.3 MB, free: 6.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01395, allocations: 211.2 kB / 342.5 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01396, allocations: 29.7 kB / 342.6 MB, free: 6.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.01401, allocations: 112.6 kB / 342.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.01405, allocations: 43.61 kB / 342.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.01412, allocations: 61.73 kB / 342.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.01417, allocations: 334.8 kB / 343.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.01441, allocations: 219.5 kB / 343.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.01464, allocations: 227.8 kB / 343.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.01508, allocations: 472.6 kB / 344 MB, free: 4.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01508, allocations: 0 / 344 MB, free: 4.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005878/0.01567, allocations: 0.5493 MB / 344.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.01573, allocations: 83.94 kB / 344.6 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.01574, allocations: 4 kB / 344.6 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01576, allocations: 0 / 344.6 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01589, allocations: 19.98 kB / 344.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01589, allocations: 0 / 344.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.01599, allocations: 27.83 kB / 344.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.01604, allocations: 31.95 kB / 344.7 MB, free: 3.918 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.0001691/0.0162, allocations: 243.7 kB / 345 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.01627, allocations: 43.84 kB / 345 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.01629, allocations: 17.45 kB / 345 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01629, allocations: 4 kB / 345 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.0163, allocations: 0 / 345 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.0163, allocations: 0 / 345 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.01647, allocations: 189.1 kB / 345.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01647, allocations: 0 / 345.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.01652, allocations: 8 kB / 345.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01653, allocations: 3.984 kB / 345.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.01656, allocations: 11.94 kB / 345.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01656, allocations: 7.938 kB / 345.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01656, allocations: 4 kB / 345.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.01738, allocations: 0.7809 MB / 346 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.01748, allocations: 55.81 kB / 346.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.01754, allocations: 23.98 kB / 346.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.01764, allocations: 15.94 kB / 346.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.01773, allocations: 19.97 kB / 346.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.01778, allocations: 44.59 kB / 346.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.01787, allocations: 152.6 kB / 346.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01787, allocations: 4 kB / 346.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.01818, allocations: 83.86 kB / 346.4 MB, free: 2.129 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.0006395/0.01882, allocations: 279.8 kB / 346.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.01953, allocations: 0.7239 MB / 347.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01953, allocations: 0 / 347.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.01992, allocations: 482 kB / 347.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.02021, allocations: 35.92 kB / 347.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.02097, allocations: 0.6281 MB / 348.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.02111, allocations: 118.9 kB / 348.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.02116, allocations: 16.55 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.02121, allocations: 20.5 kB / 348.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02121, allocations: 0 / 348.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01001/0.03122, allocations: 4.379 MB / 353.1 MB, free: 11.4 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4698146970476955]