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.001587/0.001587, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.002125/0.002125, allocations: 169 kB / 23.27 MB, free: 1.223 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.023/1.023, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.02065/0.02065, allocations: 3.153 MB / 263.4 MB, free: 9.91 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 2.285e-06/2.285e-06, allocations: 0 / 333.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.883e-05/4.112e-05, allocations: 8.703 kB / 333.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003993/0.004034, allocations: 1.54 MB / 335.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.006597, allocations: 1.168 MB / 336.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.006762, allocations: 7.938 kB / 336.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.007011, allocations: 31.67 kB / 336.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.007112, allocations: 23.8 kB / 336.7 MB, free: 12.96 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.001364/0.008476, allocations: 251 kB / 336.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.008852, allocations: 275.3 kB / 337.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.008918, allocations: 9.797 kB / 337.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.009333, allocations: 143.6 kB / 337.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.009467, allocations: 67.78 kB / 337.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.009509, allocations: 12 kB / 337.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.009948, allocations: 199.6 kB / 337.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.01001, allocations: 31.84 kB / 337.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.01009, allocations: 51.84 kB / 337.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.01062, allocations: 283.2 kB / 338 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01063, allocations: 0 / 338 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.01063, allocations: 0 / 338 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.01064, allocations: 3.938 kB / 338 MB, free: 11.66 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.001908/0.01254, allocations: 1.669 MB / 339.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/0.01262, allocations: 12.03 kB / 339.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.01339, allocations: 120.6 kB / 339.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.0137, allocations: 208.9 kB / 340 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.01373, allocations: 4.375 kB / 340 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.01376, allocations: 8.375 kB / 340 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.01412, allocations: 236.9 kB / 340.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01413, allocations: 4.188 kB / 340.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.01416, allocations: 8.359 kB / 340.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01418, allocations: 3.938 kB / 340.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.01438, allocations: 167.3 kB / 340.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.01464, allocations: 160.9 kB / 340.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.01484, allocations: 205.5 kB / 340.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01499, allocations: 170.8 kB / 340.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.01501, allocations: 4 kB / 340.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.01542, allocations: 486 kB / 341.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.926e-06/0.01543, allocations: 0 / 341.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00078/0.01621, allocations: 0.6134 MB / 342 MB, free: 7.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.01628, allocations: 148.5 kB / 342.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.01647, allocations: 257.7 kB / 342.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.0165, allocations: 29.7 kB / 342.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.01657, allocations: 167.3 kB / 342.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.01663, allocations: 51.52 kB / 342.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.01673, allocations: 63.31 kB / 342.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01684, allocations: 0.504 MB / 343.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.01697, allocations: 127.6 kB / 343.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01709, allocations: 127.8 kB / 343.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.01736, allocations: 295.6 kB / 343.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.01736, allocations: 3.938 kB / 343.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004057/0.01777, allocations: 374.7 kB / 344.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.01785, allocations: 90.17 kB / 344.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.01786, allocations: 3.938 kB / 344.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.01788, allocations: 0 / 344.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01801, allocations: 23.92 kB / 344.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.01802, allocations: 0 / 344.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.0181, allocations: 15.91 kB / 344.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.01817, allocations: 35.94 kB / 344.3 MB, free: 4.84 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.0002103/0.01838, allocations: 274.5 kB / 344.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.01845, allocations: 35.91 kB / 344.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.0185, allocations: 21.39 kB / 344.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.0185, allocations: 4 kB / 344.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01851, allocations: 0 / 344.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01851, allocations: 0 / 344.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.0187, allocations: 173.1 kB / 344.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.0187, allocations: 0 / 344.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.01876, allocations: 7.984 kB / 344.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.01877, allocations: 4 kB / 344.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.01879, allocations: 19.97 kB / 344.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.0188, allocations: 0 / 344.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.0188, allocations: 3.938 kB / 344.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.01942, allocations: 0.5727 MB / 345.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.01954, allocations: 51.75 kB / 345.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.01961, allocations: 19.98 kB / 345.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01971, allocations: 15.98 kB / 345.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.0198, allocations: 27.91 kB / 345.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.01986, allocations: 31.95 kB / 345.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01996, allocations: 184.5 kB / 345.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01996, allocations: 4 kB / 345.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.02038, allocations: 75.94 kB / 345.8 MB, free: 3.23 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.0007347/0.02111, allocations: 275.4 kB / 346.1 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.02163, allocations: 0.5127 MB / 346.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.02164, allocations: 0 / 346.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.02499, allocations: 361.8 kB / 346.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.02534, allocations: 44.11 kB / 347 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.02604, allocations: 0.5001 MB / 347.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.02608, allocations: 75.2 kB / 347.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.02613, allocations: 16.42 kB / 347.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.02633, allocations: 158.1 kB / 347.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02633, allocations: 0 / 347.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of Templates: time 0.01914/0.04547, allocations: 4.776 MB / 352.5 MB, free: 12.48 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: 3.203414186835289]