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.0009919/0.0009919, allocations: 93.06 kB / 19.65 MB, free: 276 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.000977/0.000977, allocations: 169 kB / 23.02 MB, free: 1.543 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.01736/0.01736, allocations: 3.15 MB / 263.1 MB, free: 10.07 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.513e-06/1.513e-06, allocations: 0 / 333.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.821e-05, allocations: 2.312 kB / 333.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001962/0.00199, allocations: 1.515 MB / 335 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003399, allocations: 1.086 MB / 336 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.003473, allocations: 4 kB / 336.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.003627, allocations: 11.86 kB / 336.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.003806, allocations: 23.8 kB / 336.1 MB, free: 13.39 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.0005959/0.004402, allocations: 195.2 kB / 336.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.004561, allocations: 127.6 kB / 336.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.00465, allocations: 8 kB / 336.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.0048, allocations: 63.75 kB / 336.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.004857, allocations: 35.89 kB / 336.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.004879, allocations: 8 kB / 336.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.005152, allocations: 207.5 kB / 336.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.005188, allocations: 15.92 kB / 336.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.005225, allocations: 27.91 kB / 336.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.005513, allocations: 207.3 kB / 337 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005515, allocations: 0 / 337 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005517, allocations: 4 kB / 337 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005521, allocations: 0 / 337 MB, free: 12.5 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.0004186/0.00594, allocations: 451.8 kB / 337.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.005979, allocations: 8.031 kB / 337.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.00631, allocations: 72.69 kB / 337.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.006472, allocations: 161.7 kB / 337.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.006487, allocations: 4.375 kB / 337.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.0065, allocations: 8.375 kB / 337.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.006627, allocations: 74.14 kB / 337.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006636, allocations: 3.938 kB / 337.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006649, allocations: 3.984 kB / 337.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006657, allocations: 0 / 337.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.006727, allocations: 39.91 kB / 337.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.0071, allocations: 339.6 kB / 338.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.007232, allocations: 75 kB / 338.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.007277, allocations: 27.67 kB / 338.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.007299, allocations: 4 kB / 338.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.007321, allocations: 33.39 kB / 338.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.007323, allocations: 0 / 338.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002803/0.007604, allocations: 129.7 kB / 338.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.007634, allocations: 55.34 kB / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.007718, allocations: 204.9 kB / 338.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.007727, allocations: 29.7 kB / 338.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.00777, allocations: 138.8 kB / 338.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.007793, allocations: 27.78 kB / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.007844, allocations: 39.36 kB / 338.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.007906, allocations: 0.4961 MB / 339.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.007955, allocations: 19.98 kB / 339.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.007993, allocations: 23.92 kB / 339.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/0.008085, allocations: 65.08 kB / 339.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008087, allocations: 0 / 339.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001507/0.008238, allocations: 125.6 kB / 339.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.008254, allocations: 4 kB / 339.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.008262, allocations: 4 kB / 339.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.008287, allocations: 0 / 339.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.008389, allocations: 23.97 kB / 339.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.008397, allocations: 0 / 339.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.008429, allocations: 3.938 kB / 339.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.008473, allocations: 31.95 kB / 339.6 MB, free: 9.617 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 7.597e-05/0.008549, allocations: 168.2 kB / 339.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.008575, allocations: 15.95 kB / 339.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.008617, allocations: 12.78 kB / 339.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008619, allocations: 0 / 339.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.008625, allocations: 7.969 kB / 339.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008629, allocations: 0 / 339.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.008754, allocations: 156.5 kB / 340 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008756, allocations: 0 / 340 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.008794, allocations: 15.98 kB / 340 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008797, allocations: 0 / 340 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.008808, allocations: 7.984 kB / 340 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008809, allocations: 0 / 340 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008811, allocations: 0 / 340 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.008984, allocations: 251.7 kB / 340.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.00902, allocations: 35.86 kB / 340.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.009036, allocations: 0 / 340.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.009069, allocations: 0 / 340.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.009119, allocations: 7.984 kB / 340.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.009152, allocations: 35.95 kB / 340.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.009192, allocations: 150.3 kB / 340.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009192, allocations: 0 / 340.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.009436, allocations: 51.88 kB / 340.5 MB, free: 8.656 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.0004789/0.009915, allocations: 255.3 kB / 340.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.01008, allocations: 71.58 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01008, allocations: 0 / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.01013, allocations: 39.66 kB / 340.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.01035, allocations: 31.86 kB / 340.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.01066, allocations: 208.2 kB / 341.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.01069, allocations: 64.09 kB / 341.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.01075, allocations: 28.64 kB / 341.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.01078, allocations: 20.48 kB / 341.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01078, allocations: 0 / 341.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of Templates: time 0.004572/0.01536, allocations: 2.774 MB / 344 MB, free: 5.184 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.0899496381171048]