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.001096/0.001096, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002603, allocations: 435.8 kB / 10.33 MB, free: 368 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.001128/0.001128, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002577, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.107/1.211, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.06235/0.06235, allocations: 3.151 MB / 247.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002506/0.06486, allocations: 1.184 MB / 248.3 MB, free: 10.71 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.292e-06/1.292e-06, allocations: 0 / 249.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.045e-05, allocations: 2.312 kB / 249.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001632/0.001642, allocations: 1.561 MB / 251.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002821, allocations: 1.094 MB / 252.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.002864, allocations: 0 / 252.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.25e-05/0.002937, allocations: 15.8 kB / 252.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.003023, allocations: 19.86 kB / 252.3 MB, free: 6.738 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.0004339/0.003457, allocations: 195.1 kB / 252.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003601, allocations: 119.7 kB / 252.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.348e-05/0.003674, allocations: 15.92 kB / 252.6 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.00382, allocations: 75.81 kB / 252.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.003875, allocations: 31.89 kB / 252.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003893, allocations: 8 kB / 252.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.004169, allocations: 203.6 kB / 252.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.004198, allocations: 11.94 kB / 252.9 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.004226, allocations: 19.92 kB / 252.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.004468, allocations: 187.4 kB / 253.1 MB, free: 5.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.004482, allocations: 4 kB / 253.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004483, allocations: 0 / 253.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.004498, allocations: 0 / 253.1 MB, free: 5.883 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.0004475/0.004946, allocations: 359.7 kB / 253.5 MB, free: 5.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.004976, allocations: 8.031 kB / 253.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.005277, allocations: 137.9 kB / 253.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.005427, allocations: 158.9 kB / 253.8 MB, free: 5.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005438, allocations: 4.375 kB / 253.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.005448, allocations: 12.31 kB / 253.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.00554, allocations: 66.14 kB / 253.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005547, allocations: 3.938 kB / 253.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.005557, allocations: 4 kB / 253.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.005562, allocations: 0 / 253.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.005612, allocations: 23.97 kB / 253.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.00588, allocations: 214.9 kB / 254.1 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.005972, allocations: 50.58 kB / 254.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.005998, allocations: 24.84 kB / 254.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.006019, allocations: 0 / 254.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.006042, allocations: 42.5 kB / 254.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.006044, allocations: 3.984 kB / 254.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001483/0.006193, allocations: 73.66 kB / 254.3 MB, free: 4.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.006224, allocations: 55.5 kB / 254.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.006308, allocations: 142.6 kB / 254.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.006321, allocations: 33.69 kB / 254.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.006356, allocations: 92.12 kB / 254.6 MB, free: 4.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.006377, allocations: 31.72 kB / 254.6 MB, free: 4.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.006415, allocations: 29.7 kB / 254.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.006496, allocations: 326.8 kB / 255 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.006519, allocations: 12 kB / 255 MB, free: 3.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.00654, allocations: 15.98 kB / 255 MB, free: 3.828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.0066, allocations: 51.58 kB / 255 MB, free: 3.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006601, allocations: 0 / 255 MB, free: 3.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.253e-05/0.006684, allocations: 73.77 kB / 255.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.006695, allocations: 4 kB / 255.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.006698, allocations: 0 / 255.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.006706, allocations: 4 kB / 255.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.006796, allocations: 31.95 kB / 255.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006799, allocations: 4 kB / 255.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.006822, allocations: 4 kB / 255.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.006855, allocations: 26.95 kB / 255.2 MB, free: 3.625 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 6.195e-05/0.006917, allocations: 120.6 kB / 255.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.006935, allocations: 7.938 kB / 255.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.006973, allocations: 16.77 kB / 255.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.006974, allocations: 0 / 255.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.006976, allocations: 4 kB / 255.3 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.006979, allocations: 0 / 255.3 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.007088, allocations: 97.8 kB / 255.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007089, allocations: 7.938 kB / 255.4 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.007133, allocations: 23.97 kB / 255.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.00716, allocations: 19.88 kB / 255.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007162, allocations: 0 / 255.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.007169, allocations: 4 kB / 255.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00717, allocations: 0 / 255.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007172, allocations: 0 / 255.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007289, allocations: 171.4 kB / 255.6 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007302, allocations: 7.938 kB / 255.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.007336, allocations: 0 / 255.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.007366, allocations: 11.98 kB / 255.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.007391, allocations: 27.95 kB / 255.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.539e-05/0.007416, allocations: 36.81 kB / 255.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007416, allocations: 0 / 255.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.007607, allocations: 47.88 kB / 255.8 MB, free: 2.977 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.0004842/0.008091, allocations: 292.4 kB / 256.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.008196, allocations: 56.69 kB / 256.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.008202, allocations: 4 kB / 256.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.008239, allocations: 36.77 kB / 256.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.008381, allocations: 27.91 kB / 256.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.008738, allocations: 203.3 kB / 256.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.008771, allocations: 67.28 kB / 256.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.008822, allocations: 24.66 kB / 256.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.00889, allocations: 71.34 kB / 256.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008891, allocations: 0 / 256.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of Templates: time 0.003923/0.01281, allocations: 2.833 MB / 259.4 MB, free: 15.41 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.8425451647490263]