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.001296/0.001296, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002018/0.003314, allocations: 440 kB / 10.41 MB, free: 284 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.001054/0.001054, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0054/0.006454, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.054/1.054, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09649/1.151, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.01503/0.01503, allocations: 3.147 MB / 247.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002553/0.01759, allocations: 1.216 MB / 248.5 MB, free: 10.57 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.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.653e-06/1.653e-06, allocations: 0 / 249.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.572e-05, allocations: 2.312 kB / 249.8 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002306/0.002332, allocations: 1.56 MB / 251.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003676, allocations: 1.098 MB / 252.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.003743, allocations: 0 / 252.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.00384, allocations: 11.81 kB / 252.4 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.003954, allocations: 23.8 kB / 252.5 MB, free: 6.586 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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 1.2.0-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.0004911/0.004445, allocations: 191.1 kB / 252.7 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.004599, allocations: 123.7 kB / 252.8 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.004684, allocations: 11.98 kB / 252.8 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.004852, allocations: 79.75 kB / 252.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.004909, allocations: 31.89 kB / 252.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.004929, allocations: 8 kB / 252.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.005225, allocations: 207.6 kB / 253.1 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.005264, allocations: 11.94 kB / 253.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.00529, allocations: 15.94 kB / 253.1 MB, free: 5.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.00555, allocations: 195.3 kB / 253.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.005563, allocations: 4 kB / 253.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005564, allocations: 8 kB / 253.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.005574, allocations: 0 / 253.3 MB, free: 5.715 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004199/0.005994, allocations: 347.7 kB / 253.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.006024, allocations: 8.031 kB / 253.7 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.006328, allocations: 134 kB / 253.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.006469, allocations: 154.9 kB / 254 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.006481, allocations: 8.312 kB / 254 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.006495, allocations: 8.375 kB / 254 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.006593, allocations: 62.2 kB / 254 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.006606, allocations: 11.92 kB / 254.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.006614, allocations: 0 / 254.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.006619, allocations: 0 / 254.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.518e-05/0.006664, allocations: 23.97 kB / 254.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.006939, allocations: 226.8 kB / 254.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.007033, allocations: 50.53 kB / 254.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.007058, allocations: 16.86 kB / 254.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.007076, allocations: 4 kB / 254.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.007098, allocations: 38.5 kB / 254.4 MB, free: 4.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.0071, allocations: 4 kB / 254.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000145/0.007245, allocations: 85.67 kB / 254.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.007273, allocations: 51.41 kB / 254.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.007353, allocations: 145.8 kB / 254.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.007365, allocations: 25.7 kB / 254.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.007405, allocations: 92.11 kB / 254.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.007429, allocations: 27.75 kB / 254.8 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.007472, allocations: 33.67 kB / 254.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.007564, allocations: 318.8 kB / 255.2 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.007594, allocations: 15.98 kB / 255.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.007616, allocations: 15.98 kB / 255.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.277e-05/0.007679, allocations: 55.73 kB / 255.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.007682, allocations: 0 / 255.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.721e-05/0.007769, allocations: 77.53 kB / 255.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.007782, allocations: 8 kB / 255.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007787, allocations: 0 / 255.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007798, allocations: 0 / 255.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.00789, allocations: 27.97 kB / 255.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.007892, allocations: 0 / 255.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.007915, allocations: 12 kB / 255.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.007952, allocations: 27.89 kB / 255.4 MB, free: 3.465 MB / 250.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 7.261e-05/0.008025, allocations: 120.7 kB / 255.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008045, allocations: 7.938 kB / 255.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.008082, allocations: 16.77 kB / 255.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008083, allocations: 0 / 255.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.008085, allocations: 0 / 255.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008089, allocations: 0 / 255.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.008203, allocations: 101.8 kB / 255.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008204, allocations: 0 / 255.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.008256, allocations: 19.98 kB / 255.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.008287, allocations: 23.88 kB / 255.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008289, allocations: 0 / 255.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.008298, allocations: 7.984 kB / 255.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008299, allocations: 3.938 kB / 255.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0083, allocations: 3.938 kB / 255.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.00843, allocations: 167.5 kB / 255.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008443, allocations: 3.938 kB / 255.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.008481, allocations: 0 / 255.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.008513, allocations: 7.984 kB / 255.9 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.008544, allocations: 31.95 kB / 255.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.598e-05/0.00857, allocations: 32.02 kB / 256 MB, free: 2.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00857, allocations: 0 / 256 MB, free: 2.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.008777, allocations: 59.86 kB / 256 MB, free: 2.82 MB / 250.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.0005632/0.00934, allocations: 297.8 kB / 256.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.009447, allocations: 60.69 kB / 256.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/0.009456, allocations: 4 kB / 256.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.009503, allocations: 32.83 kB / 256.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.009685, allocations: 61.62 kB / 256.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.01011, allocations: 199.2 kB / 256.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.01015, allocations: 67.33 kB / 256.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.0102, allocations: 28.36 kB / 256.7 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.01027, allocations: 67.36 kB / 256.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01027, allocations: 0 / 256.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of Templates: time 0.004938/0.01521, allocations: 2.889 MB / 259.7 MB, free: 15.17 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5863148774951696]