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.001087/0.001087, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009898/0.0009898, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9491/0.9491, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.01627/0.01627, allocations: 3.149 MB / 263.4 MB, free: 10.13 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.084e-06/2.084e-06, allocations: 0 / 333.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.865e-05, allocations: 2.312 kB / 333.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002096/0.002124, allocations: 1.509 MB / 335 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003605, allocations: 1.086 MB / 336.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.003674, allocations: 3.938 kB / 336.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.003807, allocations: 11.86 kB / 336.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.003968, allocations: 23.8 kB / 336.1 MB, free: 13.71 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.0009289/0.004897, allocations: 199.1 kB / 336.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.005043, allocations: 115.7 kB / 336.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.005127, allocations: 4 kB / 336.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.005273, allocations: 67.81 kB / 336.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.005331, allocations: 35.89 kB / 336.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.00535, allocations: 8 kB / 336.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.005635, allocations: 203.5 kB / 336.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.005671, allocations: 23.84 kB / 336.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.005706, allocations: 23.92 kB / 336.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.005979, allocations: 219.3 kB / 337 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005982, allocations: 0 / 337 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005983, allocations: 0 / 337 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005987, allocations: 0 / 337 MB, free: 12.83 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.0008881/0.006875, allocations: 451.8 kB / 337.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.00691, allocations: 12.03 kB / 337.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.00726, allocations: 60.77 kB / 337.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.00744, allocations: 174.5 kB / 337.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.007454, allocations: 8.375 kB / 337.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.007468, allocations: 8.375 kB / 337.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.007589, allocations: 62.2 kB / 337.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.007597, allocations: 7.938 kB / 337.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007608, allocations: 0 / 337.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007615, allocations: 0 / 337.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.007699, allocations: 55.83 kB / 337.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.008068, allocations: 331.6 kB / 338.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008198, allocations: 70.97 kB / 338.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.008248, allocations: 27.67 kB / 338.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.008266, allocations: 0 / 338.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.008286, allocations: 41.42 kB / 338.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.008287, allocations: 0 / 338.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002863/0.008574, allocations: 125.5 kB / 338.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.008597, allocations: 55.41 kB / 338.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.008688, allocations: 200.1 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.008697, allocations: 25.7 kB / 338.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.008732, allocations: 142.8 kB / 338.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.008755, allocations: 31.92 kB / 338.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.008803, allocations: 39.36 kB / 338.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.008846, allocations: 0.4922 MB / 339.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.008895, allocations: 23.98 kB / 339.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.008942, allocations: 23.92 kB / 339.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.009044, allocations: 67.59 kB / 339.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009046, allocations: 0 / 339.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001991/0.009245, allocations: 121.7 kB / 339.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009259, allocations: 4 kB / 339.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.009264, allocations: 0 / 339.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.009277, allocations: 0 / 339.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.009389, allocations: 27.91 kB / 339.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.009396, allocations: 4 kB / 339.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.009433, allocations: 7.938 kB / 339.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.009471, allocations: 27.95 kB / 339.7 MB, free: 9.938 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.91e-05/0.00953, allocations: 160.5 kB / 339.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.009569, allocations: 15.95 kB / 339.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.009609, allocations: 8.781 kB / 339.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009612, allocations: 4 kB / 339.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009616, allocations: 0 / 339.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.00962, allocations: 3.984 kB / 339.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.009765, allocations: 152.4 kB / 340 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009766, allocations: 4 kB / 340 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.009833, allocations: 19.92 kB / 340 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009835, allocations: 0 / 340 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.009847, allocations: 11.97 kB / 340 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.009849, allocations: 0 / 340 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.00985, allocations: 0 / 340 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.01007, allocations: 255.8 kB / 340.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.01011, allocations: 27.92 kB / 340.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.01013, allocations: 0 / 340.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01021, allocations: 0 / 340.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01025, allocations: 15.98 kB / 340.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.01029, allocations: 23.95 kB / 340.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.01034, allocations: 153.9 kB / 340.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01034, allocations: 4 kB / 340.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.01064, allocations: 51.88 kB / 340.6 MB, free: 8.977 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.0004373/0.01108, allocations: 254.5 kB / 340.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01124, allocations: 67.62 kB / 340.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01124, allocations: 4 kB / 340.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.0113, allocations: 47.59 kB / 340.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01157, allocations: 27.86 kB / 340.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.01188, allocations: 200.3 kB / 341.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.01191, allocations: 64.09 kB / 341.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.01198, allocations: 32.64 kB / 341.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.01202, allocations: 24.48 kB / 341.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01202, allocations: 0 / 341.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of Templates: time 0.004193/0.01622, allocations: 2.46 MB / 343.7 MB, free: 5.816 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.8971571661531925]