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.001879/0.001879, allocations: 88.72 kB / 19.44 MB, free: 356 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.002327/0.002327, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.0274/0.0274, allocations: 3.154 MB / 262.7 MB, free: 10.08 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.064e-06/2.064e-06, allocations: 0 / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.88e-05, allocations: 2.312 kB / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002769/0.002797, allocations: 1.478 MB / 334.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.005058, allocations: 1.051 MB / 335.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.005123, allocations: 3.938 kB / 335.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.005281, allocations: 11.88 kB / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.005506, allocations: 23.84 kB / 335.3 MB, free: 13.8 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.0008138/0.00632, allocations: 187.2 kB / 335.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.006527, allocations: 127.7 kB / 335.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.006631, allocations: 7.984 kB / 335.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.006821, allocations: 67.81 kB / 335.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.006902, allocations: 35.89 kB / 335.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.006928, allocations: 4 kB / 335.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.007348, allocations: 207.5 kB / 335.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.007392, allocations: 19.92 kB / 335.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.007445, allocations: 23.91 kB / 336 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.007835, allocations: 227.3 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007839, allocations: 0 / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.00784, allocations: 4 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007846, allocations: 0 / 336.2 MB, free: 12.91 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.0005936/0.008439, allocations: 357.4 kB / 336.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.008486, allocations: 8.031 kB / 336.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005985/0.009085, allocations: 60.81 kB / 336.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.009363, allocations: 159.4 kB / 336.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.009381, allocations: 384 / 336.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.009401, allocations: 12.31 kB / 336.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.009614, allocations: 78.2 kB / 336.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.009626, allocations: 3.938 kB / 336.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.009643, allocations: 4 kB / 336.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.009649, allocations: 4 kB / 336.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.00984, allocations: 63.89 kB / 336.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.01042, allocations: 292.3 kB / 337.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.01066, allocations: 74.48 kB / 337.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01076, allocations: 40.83 kB / 337.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.01079, allocations: 4 kB / 337.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01082, allocations: 30.56 kB / 337.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.01082, allocations: 4 kB / 337.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.01135, allocations: 157.7 kB / 337.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.01138, allocations: 51.41 kB / 337.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01151, allocations: 149.4 kB / 337.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01153, allocations: 29.7 kB / 337.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.01157, allocations: 100.1 kB / 337.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.0116, allocations: 23.8 kB / 337.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01167, allocations: 29.7 kB / 337.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.01174, allocations: 322.8 kB / 338.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01184, allocations: 43.97 kB / 338.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.01195, allocations: 35.92 kB / 338.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.01217, allocations: 80.83 kB / 338.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01218, allocations: 0 / 338.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003435/0.01252, allocations: 149.6 kB / 338.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01254, allocations: 4 kB / 338.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01254, allocations: 4 kB / 338.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.01256, allocations: 4 kB / 338.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01274, allocations: 27.98 kB / 338.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01274, allocations: 0 / 338.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.01281, allocations: 3.938 kB / 338.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.01287, allocations: 31.89 kB / 338.6 MB, free: 10.34 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 9.527e-05/0.01296, allocations: 126.4 kB / 338.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.01302, allocations: 11.95 kB / 338.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.01308, allocations: 8.781 kB / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01308, allocations: 4 kB / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01308, allocations: 0 / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01309, allocations: 0 / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.0133, allocations: 149.2 kB / 338.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0133, allocations: 0 / 338.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.01342, allocations: 19.98 kB / 338.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01342, allocations: 0 / 338.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.01343, allocations: 0 / 338.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01344, allocations: 7.984 kB / 338.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.01344, allocations: 3.984 kB / 338.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01378, allocations: 223.3 kB / 339.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.01385, allocations: 23.86 kB / 339.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01388, allocations: 8 kB / 339.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.014, allocations: 4 kB / 339.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.01406, allocations: 7.984 kB / 339.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.01411, allocations: 23.95 kB / 339.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.01419, allocations: 114.2 kB / 339.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01419, allocations: 0 / 339.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.01469, allocations: 55.86 kB / 339.3 MB, free: 9.508 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.0007866/0.01548, allocations: 260.6 kB / 339.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.01575, allocations: 79.94 kB / 339.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01575, allocations: 8 kB / 339.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.01588, allocations: 39.92 kB / 339.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.01632, allocations: 19.92 kB / 339.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.0168, allocations: 218.3 kB / 340 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.102e-05/0.01687, allocations: 86.19 kB / 340 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.01699, allocations: 28.66 kB / 340.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.01705, allocations: 28.47 kB / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01706, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of Templates: time 0.007272/0.02433, allocations: 2.453 MB / 342.6 MB, free: 6.312 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4811111909803]