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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02623/0.02623, allocations: 3.935 MB / 308.4 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002793/0.002793, allocations: 67.88 kB / 429.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.315, allocations: 52.91 MB / 482.3 MB, free: 27.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002514/0.3175, allocations: 1.497 MB / 483.8 MB, free: 26.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3191, allocations: 1.087 MB / 484.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.3192, allocations: 0 / 484.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3193, allocations: 14.97 kB / 484.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3194, allocations: 22.27 kB / 484.9 MB, free: 25.28 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.1.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.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.0005195/0.32, allocations: 183.8 kB / 485.1 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3201, allocations: 117.7 kB / 485.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.3202, allocations: 6.844 kB / 485.2 MB, free: 25.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.3203, allocations: 45.95 kB / 485.2 MB, free: 25.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.3204, allocations: 48.7 kB / 485.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3204, allocations: 6.312 kB / 485.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3206, allocations: 181.8 kB / 485.5 MB, free: 25.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.3207, allocations: 22.38 kB / 485.5 MB, free: 25.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3207, allocations: 32.39 kB / 485.5 MB, free: 24.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.321, allocations: 217.5 kB / 485.7 MB, free: 24.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.321, allocations: 0 / 485.7 MB, free: 24.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.321, allocations: 0 / 485.7 MB, free: 24.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.321, allocations: 0 / 485.7 MB, free: 24.91 MB / 366.1 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.00051/0.3215, allocations: 433.8 kB / 486.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3216, allocations: 13.2 kB / 486.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.322, allocations: 55.06 kB / 486.2 MB, free: 24.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3222, allocations: 210.1 kB / 486.4 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3222, allocations: 3.531 kB / 486.4 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3222, allocations: 11.22 kB / 486.4 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3224, allocations: 89.27 kB / 486.5 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3224, allocations: 0 / 486.5 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3224, allocations: 0 / 486.5 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3224, allocations: 0 / 486.5 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3226, allocations: 69.23 kB / 486.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.323, allocations: 353.4 kB / 486.9 MB, free: 23.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3232, allocations: 78.81 kB / 487 MB, free: 23.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.3232, allocations: 41.02 kB / 487.1 MB, free: 23.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3233, allocations: 7.828 kB / 487.1 MB, free: 23.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3233, allocations: 31.08 kB / 487.1 MB, free: 23.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3233, allocations: 0 / 487.1 MB, free: 23.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003579/0.3237, allocations: 151.7 kB / 487.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.3237, allocations: 55.42 kB / 487.3 MB, free: 23.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3238, allocations: 151.9 kB / 487.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3238, allocations: 25.7 kB / 487.5 MB, free: 23.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.3238, allocations: 101.5 kB / 487.6 MB, free: 23.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3239, allocations: 28.77 kB / 487.6 MB, free: 23.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3239, allocations: 29.89 kB / 487.6 MB, free: 23.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.324, allocations: 321 kB / 487.9 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.324, allocations: 43.06 kB / 488 MB, free: 22.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.3241, allocations: 35.66 kB / 488 MB, free: 22.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3242, allocations: 84.2 kB / 488.1 MB, free: 22.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3242, allocations: 0 / 488.1 MB, free: 22.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002201/0.3245, allocations: 136.9 kB / 488.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3245, allocations: 8.219 kB / 488.3 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3245, allocations: 4.641 kB / 488.3 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3245, allocations: 0 / 488.3 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3246, allocations: 23.81 kB / 488.3 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3246, allocations: 4.078 kB / 488.3 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3247, allocations: 11.89 kB / 488.3 MB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.3247, allocations: 33 kB / 488.3 MB, free: 22.85 MB / 366.1 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 6.539e-05/0.3248, allocations: 121.1 kB / 488.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.3248, allocations: 7.922 kB / 488.5 MB, free: 22.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.3249, allocations: 13 kB / 488.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3249, allocations: 3.984 kB / 488.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3249, allocations: 0 / 488.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3249, allocations: 4.688 kB / 488.5 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3251, allocations: 205.2 kB / 488.7 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3251, allocations: 4 kB / 488.7 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.3252, allocations: 26.06 kB / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3252, allocations: 3.219 kB / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3252, allocations: 1.875 kB / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3252, allocations: 0 / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3252, allocations: 3.422 kB / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3254, allocations: 218.1 kB / 488.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3255, allocations: 109 kB / 489 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3255, allocations: 3.625 kB / 489 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.3256, allocations: 4.891 kB / 489 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3256, allocations: 9.906 kB / 489 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3257, allocations: 28.69 kB / 489.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.3257, allocations: 111.1 kB / 489.2 MB, free: 22.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3257, allocations: 0 / 489.2 MB, free: 22.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.326, allocations: 56.67 kB / 489.2 MB, free: 22.09 MB / 366.1 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.3265, allocations: 237.1 kB / 489.5 MB, free: 21.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3267, allocations: 77.12 kB / 489.5 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3267, allocations: 3.938 kB / 489.6 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.3268, allocations: 46.22 kB / 489.6 MB, free: 21.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.3271, allocations: 7.844 kB / 489.6 MB, free: 21.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3274, allocations: 211.2 kB / 489.8 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3275, allocations: 0.7011 MB / 490.5 MB, free: 21.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.3276, allocations: 26.94 kB / 490.5 MB, free: 21.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.3277, allocations: 18.91 kB / 490.6 MB, free: 21.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3277, allocations: 0 / 490.6 MB, free: 21.05 MB / 366.1 MB Notification: Performance of Templates: time 0.005496/0.3332, allocations: 2.245 MB / 492.8 MB, free: 20.77 MB / 366.1 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.791058613918722]