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.001001/0.001001, 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.001567/0.001567, 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.068/1.068, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.01738/0.01738, allocations: 3.158 MB / 263.4 MB, free: 9.906 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.154e-06/2.154e-06, allocations: 0 / 333.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.318e-05, allocations: 2.312 kB / 333.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.005769/0.005803, allocations: 1.504 MB / 335.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.007648, allocations: 1.071 MB / 336.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.00775, allocations: 0 / 336.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.007939, allocations: 19.8 kB / 336.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.0112, allocations: 19.86 kB / 336.5 MB, free: 13.12 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.0008459/0.01205, allocations: 199.1 kB / 336.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.01224, allocations: 119.7 kB / 336.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.01236, allocations: 11.98 kB / 336.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.01256, allocations: 63.77 kB / 336.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.01263, allocations: 31.89 kB / 336.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.01266, allocations: 8 kB / 336.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.01306, allocations: 211.5 kB / 337.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.0131, allocations: 15.92 kB / 337.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.01314, allocations: 27.92 kB / 337.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.01353, allocations: 211.4 kB / 337.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.01353, allocations: 0 / 337.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01354, allocations: 0 / 337.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.01354, allocations: 0 / 337.4 MB, free: 12.23 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.003606/0.01715, allocations: 459.7 kB / 337.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.01721, allocations: 12.03 kB / 337.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.01764, allocations: 60.77 kB / 337.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.01785, allocations: 162.2 kB / 338.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.01787, allocations: 8.375 kB / 338.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.01788, allocations: 4.375 kB / 338.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.01804, allocations: 66.14 kB / 338.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01805, allocations: 3.938 kB / 338.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.01806, allocations: 4 kB / 338.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.01807, allocations: 0 / 338.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.01814, allocations: 31.91 kB / 338.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.0186, allocations: 304.2 kB / 338.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.01872, allocations: 63 kB / 338.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.01876, allocations: 23.67 kB / 338.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.01879, allocations: 7.938 kB / 338.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.01882, allocations: 37.39 kB / 338.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/0.01883, allocations: 0 / 338.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002546/0.01908, allocations: 105.6 kB / 338.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.01911, allocations: 51.41 kB / 338.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.0192, allocations: 204.2 kB / 339 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.01921, allocations: 25.7 kB / 339 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.01925, allocations: 146.8 kB / 339.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.01928, allocations: 27.77 kB / 339.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.01933, allocations: 35.36 kB / 339.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.01939, allocations: 0.5001 MB / 339.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.01943, allocations: 19.92 kB / 339.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.01946, allocations: 11.98 kB / 339.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.01953, allocations: 43.83 kB / 339.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.01953, allocations: 3.938 kB / 339.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001343/0.01967, allocations: 109.4 kB / 339.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01968, allocations: 4 kB / 339.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01969, allocations: 0 / 339.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.0197, allocations: 3.938 kB / 339.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01981, allocations: 31.97 kB / 339.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01981, allocations: 4 kB / 339.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.01984, allocations: 0 / 339.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.01989, allocations: 23.95 kB / 340 MB, free: 9.48 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.075e-05/0.01997, allocations: 172 kB / 340.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.02, allocations: 7.953 kB / 340.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.02005, allocations: 16.78 kB / 340.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02005, allocations: 0 / 340.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.02006, allocations: 4 kB / 340.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02006, allocations: 7.984 kB / 340.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.02019, allocations: 129.2 kB / 340.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02019, allocations: 0 / 340.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.02023, allocations: 11.98 kB / 340.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.02024, allocations: 7.938 kB / 340.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.02025, allocations: 3.984 kB / 340.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02025, allocations: 0 / 340.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02025, allocations: 0 / 340.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.02043, allocations: 243.8 kB / 340.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.02047, allocations: 23.81 kB / 340.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.02048, allocations: 0 / 340.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.02052, allocations: 8 kB / 340.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.02057, allocations: 11.97 kB / 340.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.0206, allocations: 27.95 kB / 340.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.02065, allocations: 142.2 kB / 340.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02065, allocations: 0 / 340.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000292/0.02094, allocations: 55.86 kB / 340.8 MB, free: 8.57 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.0005072/0.02145, allocations: 262.6 kB / 341.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.02159, allocations: 59.56 kB / 341.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02159, allocations: 0 / 341.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.02165, allocations: 39.67 kB / 341.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.02189, allocations: 19.92 kB / 341.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.02225, allocations: 204.2 kB / 341.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.02229, allocations: 60.09 kB / 341.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.02236, allocations: 28.64 kB / 341.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.02243, allocations: 90.17 kB / 341.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02243, allocations: 0 / 341.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of Templates: time 0.004816/0.02724, allocations: 2.818 MB / 344.4 MB, free: 5.008 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: 3.0491153271868825]