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.001127/0.001127, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001394/0.001394, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8876/0.8876, allocations: 177.2 MB / 203.5 MB, free: 5.742 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.02297/0.02297, allocations: 3.142 MB / 263.1 MB, free: 10.28 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 1.432e-06/1.432e-06, allocations: 0 / 387 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.416e-05, allocations: 4.672 kB / 387 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001859/0.001883, allocations: 1.482 MB / 388.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.003297, allocations: 1.047 MB / 389.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.003355, allocations: 0 / 389.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.0035, allocations: 15.81 kB / 389.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.003677, allocations: 27.84 kB / 389.6 MB, free: 9.113 MB / 362.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.0004657/0.004143, allocations: 191.2 kB / 389.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.004296, allocations: 123.7 kB / 389.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.004391, allocations: 8 kB / 389.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.004532, allocations: 67.75 kB / 389.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.004587, allocations: 31.89 kB / 390 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.004607, allocations: 8 kB / 390 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.004842, allocations: 203.5 kB / 390.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.004881, allocations: 27.91 kB / 390.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.004916, allocations: 19.92 kB / 390.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.005198, allocations: 227.4 kB / 390.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005202, allocations: 7.922 kB / 390.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005203, allocations: 0 / 390.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.005208, allocations: 0 / 390.5 MB, free: 8.215 MB / 362.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.0004418/0.00565, allocations: 349.4 kB / 390.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005688, allocations: 8.031 kB / 390.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.005992, allocations: 56.75 kB / 390.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.006197, allocations: 157.5 kB / 391 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.00621, allocations: 8.375 kB / 391 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.006223, allocations: 4.375 kB / 391 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.006354, allocations: 82.14 kB / 391.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006362, allocations: 3.938 kB / 391.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.006373, allocations: 4 kB / 391.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006378, allocations: 4 kB / 391.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.00647, allocations: 55.95 kB / 391.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.006862, allocations: 292.4 kB / 391.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.007019, allocations: 82.52 kB / 391.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.00707, allocations: 36.83 kB / 391.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.007093, allocations: 160 / 391.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.007118, allocations: 38.5 kB / 391.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.007119, allocations: 0 / 391.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002956/0.007415, allocations: 153.5 kB / 391.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.007451, allocations: 55.41 kB / 391.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007554, allocations: 150.4 kB / 392 MB, free: 6.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.007569, allocations: 29.7 kB / 392 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.007622, allocations: 103.9 kB / 392.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.007646, allocations: 23.8 kB / 392.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.007689, allocations: 29.69 kB / 392.1 MB, free: 6.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.007775, allocations: 326.8 kB / 392.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.007828, allocations: 35.97 kB / 392.5 MB, free: 6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.007876, allocations: 31.98 kB / 392.5 MB, free: 5.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007987, allocations: 81.05 kB / 392.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007989, allocations: 4 kB / 392.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001664/0.008155, allocations: 145.4 kB / 392.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.008168, allocations: 4 kB / 392.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.008173, allocations: 0 / 392.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.008186, allocations: 8 kB / 392.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.008268, allocations: 19.92 kB / 392.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008273, allocations: 4 kB / 392.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.008295, allocations: 4 kB / 392.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.00833, allocations: 27.95 kB / 392.8 MB, free: 5.668 MB / 362.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,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,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.201e-05/0.008412, allocations: 131.8 kB / 393 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.008431, allocations: 7.953 kB / 393 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.008469, allocations: 16.78 kB / 393 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00847, allocations: 0 / 393 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.008475, allocations: 0 / 393 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008479, allocations: 7.922 kB / 393 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.008604, allocations: 149.1 kB / 393.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008605, allocations: 4 kB / 393.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.008642, allocations: 11.98 kB / 393.1 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008644, allocations: 3.984 kB / 393.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.008655, allocations: 11.98 kB / 393.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.008655, allocations: 0 / 393.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008656, allocations: 3.938 kB / 393.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.008844, allocations: 219.3 kB / 393.4 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.008879, allocations: 23.92 kB / 393.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008894, allocations: 8 kB / 393.4 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.008929, allocations: 0 / 393.4 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.00897, allocations: 7.984 kB / 393.4 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.008995, allocations: 27.89 kB / 393.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.00905, allocations: 122.2 kB / 393.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00905, allocations: 0 / 393.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.00926, allocations: 51.86 kB / 393.6 MB, free: 4.82 MB / 362.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.0003671/0.009627, allocations: 253.4 kB / 393.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.009785, allocations: 83.89 kB / 393.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009787, allocations: 0 / 393.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.009841, allocations: 35.98 kB / 394 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.01002, allocations: 19.05 kB / 394 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.01034, allocations: 227 kB / 394.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01041, allocations: 89.44 kB / 394.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.01044, allocations: 24.42 kB / 394.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01044, allocations: 0 / 394.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003058/0.0135, allocations: 2.464 MB / 396.8 MB, free: 1.625 MB / 362.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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.870657587423921] Failed to read output from testmodel.py, exit status != 0: 0.018941765651106834 0.028537680000000003 0.021051907 Calling exit ...