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.001856/0.001856, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002006/0.002006, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] 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.03173/0.03173, allocations: 3.161 MB / 262.7 MB, free: 9.961 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.633e-06/1.633e-06, allocations: 0 / 332.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.012e-05, allocations: 2.312 kB / 332.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001792/0.001812, allocations: 1.482 MB / 334.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003228, allocations: 1.071 MB / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.003275, allocations: 0 / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003393, allocations: 23.73 kB / 335.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003521, allocations: 23.86 kB / 335.3 MB, free: 13.78 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.0005019/0.004022, allocations: 195.1 kB / 335.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004157, allocations: 119.7 kB / 335.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.08e-05/0.004228, allocations: 15.98 kB / 335.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.004353, allocations: 63.81 kB / 335.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.004406, allocations: 35.89 kB / 335.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.004427, allocations: 4 kB / 335.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.004692, allocations: 203.5 kB / 335.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.004725, allocations: 27.92 kB / 336 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.004759, allocations: 19.91 kB / 336 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.005017, allocations: 227.3 kB / 336.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005019, allocations: 0 / 336.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00502, allocations: 0 / 336.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.005023, allocations: 0 / 336.2 MB, free: 12.89 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.0004035/0.005426, allocations: 463.4 kB / 336.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.005455, allocations: 11.97 kB / 336.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.005794, allocations: 56.81 kB / 336.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.005978, allocations: 158.7 kB / 336.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.005992, allocations: 12.38 kB / 336.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.006004, allocations: 384 / 336.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.00614, allocations: 78.14 kB / 337 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00615, allocations: 3.938 kB / 337 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.00616, allocations: 7.938 kB / 337 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.006164, allocations: 0 / 337 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.006287, allocations: 51.95 kB / 337 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.006698, allocations: 351.5 kB / 337.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.006856, allocations: 86.91 kB / 337.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.00692, allocations: 35.67 kB / 337.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.006944, allocations: 0 / 337.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.006956, allocations: 37.39 kB / 337.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.006957, allocations: 0 / 337.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003247/0.007282, allocations: 141.8 kB / 337.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.007304, allocations: 51.41 kB / 337.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.007397, allocations: 215.4 kB / 337.9 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.007407, allocations: 37.7 kB / 338 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.007442, allocations: 146.8 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.007461, allocations: 23.8 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.007511, allocations: 43.34 kB / 338.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.007564, allocations: 0.4962 MB / 338.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.007632, allocations: 27.97 kB / 338.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.007692, allocations: 31.98 kB / 338.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.007819, allocations: 75.55 kB / 338.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007821, allocations: 8 kB / 338.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002047/0.008025, allocations: 133.5 kB / 338.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.008035, allocations: 8 kB / 339 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.008039, allocations: 0 / 339 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.008052, allocations: 0 / 339 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.008165, allocations: 19.98 kB / 339 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008169, allocations: 0 / 339 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.008212, allocations: 4 kB / 339 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.008245, allocations: 27.95 kB / 339 MB, free: 9.887 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,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 5.722e-05/0.008302, allocations: 172.5 kB / 339.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.008339, allocations: 11.95 kB / 339.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.008379, allocations: 20.7 kB / 339.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008381, allocations: 4 kB / 339.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.008383, allocations: 0 / 339.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.008386, allocations: 0 / 339.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.008523, allocations: 156.5 kB / 339.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008524, allocations: 0 / 339.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.0086, allocations: 23.97 kB / 339.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008602, allocations: 0 / 339.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.008612, allocations: 0 / 339.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008613, allocations: 8 kB / 339.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008614, allocations: 0 / 339.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.008831, allocations: 263.7 kB / 339.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.008876, allocations: 31.8 kB / 339.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.008894, allocations: 0 / 339.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.008964, allocations: 0 / 339.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.009008, allocations: 11.98 kB / 339.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.009039, allocations: 27.95 kB / 339.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.009093, allocations: 162.2 kB / 339.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009093, allocations: 4 kB / 339.9 MB, free: 8.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.009361, allocations: 51.86 kB / 339.9 MB, free: 8.891 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.0006488/0.01001, allocations: 258 kB / 340.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.0102, allocations: 87.58 kB / 340.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0102, allocations: 0 / 340.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.01028, allocations: 39.67 kB / 340.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01055, allocations: 23.86 kB / 340.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.01085, allocations: 227.9 kB / 340.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.0109, allocations: 82.2 kB / 340.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.01097, allocations: 24.64 kB / 340.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.01101, allocations: 28.48 kB / 340.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01101, allocations: 0 / 340.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of Templates: time 0.00494/0.01595, allocations: 2.463 MB / 343.2 MB, free: 5.676 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: 4.470719170989469]