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.0009622/0.0009622, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001015/0.001015, allocations: 181 kB / 23.36 MB, free: 1.133 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.964/0.964, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.01594/0.01594, allocations: 3.156 MB / 263.4 MB, free: 9.949 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.182e-06/1.182e-06, allocations: 0 / 280.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.47e-05, allocations: 10.25 kB / 280.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001738/0.001753, allocations: 1.505 MB / 282.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003086, allocations: 1.09 MB / 283.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.003131, allocations: 3.938 kB / 283.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.949e-05/0.00323, allocations: 11.88 kB / 283.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003348, allocations: 23.8 kB / 283.3 MB, free: 6.059 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.0004003/0.003748, allocations: 195.1 kB / 283.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.003872, allocations: 123.7 kB / 283.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.003932, allocations: 11.92 kB / 283.6 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.004034, allocations: 59.89 kB / 283.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.004081, allocations: 35.89 kB / 283.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.004098, allocations: 8 kB / 283.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.004338, allocations: 203.5 kB / 283.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.004371, allocations: 23.91 kB / 283.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.004395, allocations: 19.92 kB / 284 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.004663, allocations: 219.3 kB / 284.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004666, allocations: 3.984 kB / 284.2 MB, free: 5.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004667, allocations: 0 / 284.2 MB, free: 5.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.00467, allocations: 0 / 284.2 MB, free: 5.172 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.0003749/0.005045, allocations: 320.1 kB / 284.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.00508, allocations: 12.03 kB / 284.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.005321, allocations: 64.78 kB / 284.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.005466, allocations: 158.8 kB / 284.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005478, allocations: 4.375 kB / 284.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.005492, allocations: 12.36 kB / 284.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.005592, allocations: 66.2 kB / 284.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005603, allocations: 3.938 kB / 284.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005612, allocations: 0 / 284.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005618, allocations: 0 / 284.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.005668, allocations: 31.91 kB / 284.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.005936, allocations: 215 kB / 285 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.006022, allocations: 50.55 kB / 285.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.006047, allocations: 16.84 kB / 285.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.006063, allocations: 4 kB / 285.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.006083, allocations: 38.5 kB / 285.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.006084, allocations: 96 / 285.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001354/0.00622, allocations: 77.59 kB / 285.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.006249, allocations: 59.39 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.006326, allocations: 146.8 kB / 285.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.006337, allocations: 25.7 kB / 285.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.006368, allocations: 92.11 kB / 285.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.00639, allocations: 27.75 kB / 285.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.006426, allocations: 29.69 kB / 285.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.006499, allocations: 322.8 kB / 285.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.006522, allocations: 11.98 kB / 285.9 MB, free: 3.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.006544, allocations: 19.92 kB / 285.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.006606, allocations: 51.58 kB / 286 MB, free: 3.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006608, allocations: 4 kB / 286 MB, free: 3.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.269e-05/0.00669, allocations: 73.59 kB / 286.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.006702, allocations: 9.25 kB / 286.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006706, allocations: 0 / 286.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006717, allocations: 0 / 286.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.006783, allocations: 19.98 kB / 286.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.006786, allocations: 0 / 286.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.006808, allocations: 7.953 kB / 286.1 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.006839, allocations: 34.64 kB / 286.1 MB, free: 3.047 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,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.331e-05/0.006903, allocations: 124.7 kB / 286.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.006921, allocations: 7.938 kB / 286.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.006954, allocations: 16.77 kB / 286.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006956, allocations: 0 / 286.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006958, allocations: 4 kB / 286.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006962, allocations: 0 / 286.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.007063, allocations: 97.73 kB / 286.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007065, allocations: 3.984 kB / 286.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.007099, allocations: 15.98 kB / 286.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.007103, allocations: 3.938 kB / 286.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.007108, allocations: 4 kB / 286.4 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.007111, allocations: 7.938 kB / 286.4 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007111, allocations: 0 / 286.4 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.00721, allocations: 159.5 kB / 286.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.007236, allocations: 11.94 kB / 286.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.00725, allocations: 11.94 kB / 286.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.007282, allocations: 0 / 286.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.007312, allocations: 11.98 kB / 286.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.007335, allocations: 23.95 kB / 286.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.007362, allocations: 36.81 kB / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007362, allocations: 4 kB / 286.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.007538, allocations: 47.88 kB / 286.7 MB, free: 2.414 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.000463/0.008001, allocations: 286.1 kB / 287 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.008109, allocations: 48.81 kB / 287 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.008113, allocations: 4 kB / 287 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.008154, allocations: 28.78 kB / 287.1 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.008309, allocations: 19.92 kB / 287.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.008619, allocations: 195.4 kB / 287.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.008667, allocations: 71.31 kB / 287.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.008717, allocations: 16.66 kB / 287.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.008789, allocations: 67.36 kB / 287.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00879, allocations: 0 / 287.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of Templates: time 0.1089/0.1177, allocations: 2.797 MB / 290.2 MB, free: 23.52 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.77148378174752]