Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.00103/0.00103, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001797/0.001797, allocations: 181 kB / 23.35 MB, free: 1.137 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.064/1.064, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.02015/0.02015, allocations: 3.163 MB / 263.4 MB, free: 9.945 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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 280.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.392e-05, allocations: 2.312 kB / 280.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002959/0.002983, allocations: 1.564 MB / 282.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005104, allocations: 1.086 MB / 283.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.005165, allocations: 0 / 283.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.005248, allocations: 23.8 kB / 283.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.005354, allocations: 11.88 kB / 283.4 MB, free: 5.977 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.005944, allocations: 191.1 kB / 283.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.006143, allocations: 119.7 kB / 283.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.006226, allocations: 15.92 kB / 283.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.006397, allocations: 63.77 kB / 283.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.006465, allocations: 31.89 kB / 283.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.006486, allocations: 8 kB / 283.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.006831, allocations: 219.5 kB / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.006867, allocations: 19.91 kB / 284 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.0069, allocations: 23.92 kB / 284 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.007179, allocations: 219.3 kB / 284.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00718, allocations: 3.938 kB / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007181, allocations: 0 / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007185, allocations: 0 / 284.3 MB, free: 5.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004106/0.007596, allocations: 320.1 kB / 284.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.00763, allocations: 8.031 kB / 284.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.007914, allocations: 64.78 kB / 284.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.008087, allocations: 157.9 kB / 284.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.008103, allocations: 8.375 kB / 284.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.008115, allocations: 4.375 kB / 284.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.008231, allocations: 66.14 kB / 284.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.008241, allocations: 7.938 kB / 284.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.00825, allocations: 0 / 284.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.008256, allocations: 3.984 kB / 284.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.008315, allocations: 31.91 kB / 284.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.008741, allocations: 215 kB / 285.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.008858, allocations: 54.53 kB / 285.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.008892, allocations: 12.86 kB / 285.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.008914, allocations: 4 kB / 285.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.008946, allocations: 34.5 kB / 285.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.008947, allocations: 0 / 285.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001907/0.009138, allocations: 85.67 kB / 285.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.009174, allocations: 51.41 kB / 285.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.009272, allocations: 142.8 kB / 285.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.00929, allocations: 33.64 kB / 285.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.009338, allocations: 96.11 kB / 285.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.009367, allocations: 23.75 kB / 285.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.009418, allocations: 37.67 kB / 285.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.009546, allocations: 318.8 kB / 286 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.009574, allocations: 11.98 kB / 286 MB, free: 3.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.009603, allocations: 15.98 kB / 286 MB, free: 3.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.009701, allocations: 43.64 kB / 286.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.009704, allocations: 0 / 286.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001117/0.009815, allocations: 81.53 kB / 286.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.00983, allocations: 12 kB / 286.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.009836, allocations: 3.938 kB / 286.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.00985, allocations: 0 / 286.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.009941, allocations: 23.97 kB / 286.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.009945, allocations: 0 / 286.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.009973, allocations: 7.953 kB / 286.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.01002, allocations: 23.95 kB / 286.2 MB, free: 2.957 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: 4 (globalSeed.seed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 8.781e-05/0.0101, allocations: 116.6 kB / 286.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.01013, allocations: 15.92 kB / 286.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.01018, allocations: 12.78 kB / 286.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01018, allocations: 8 kB / 286.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01018, allocations: 0 / 286.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01019, allocations: 0 / 286.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01032, allocations: 101.7 kB / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01032, allocations: 0 / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.01036, allocations: 15.98 kB / 286.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01037, allocations: 7.938 kB / 286.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01038, allocations: 7.984 kB / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.01038, allocations: 0 / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01038, allocations: 0 / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.01054, allocations: 167.5 kB / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.01057, allocations: 15.94 kB / 286.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.01059, allocations: 3.938 kB / 286.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.01062, allocations: 8 kB / 286.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.01068, allocations: 3.984 kB / 286.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.01072, allocations: 27.95 kB / 286.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.01077, allocations: 35.81 kB / 286.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01077, allocations: 0 / 286.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000249/0.01102, allocations: 51.88 kB / 286.8 MB, free: 2.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005821/0.0116, allocations: 281.2 kB / 287.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.01175, allocations: 56.69 kB / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.01175, allocations: 0 / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.0118, allocations: 32.78 kB / 287.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01199, allocations: 22.73 kB / 287.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01235, allocations: 187.4 kB / 287.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.01241, allocations: 67.33 kB / 287.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.01247, allocations: 24.66 kB / 287.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.01255, allocations: 71.36 kB / 287.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01256, allocations: 0 / 287.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of Templates: time 0.1321/0.1447, allocations: 2.788 MB / 290.3 MB, free: 23.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8328443421050906]