Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03702/0.03702, allocations: 3.924 MB / 309 MB, free: 3.035 MB / 238.1 MB [Timeout remaining time 90] 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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.89 kB / 429.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2703, allocations: 52.91 MB / 482.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002254/0.2726, allocations: 1.537 MB / 484.2 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2742, allocations: 1.16 MB / 485.4 MB, free: 25.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.2742, allocations: 3.938 kB / 485.4 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2744, allocations: 37.7 kB / 485.4 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.391e-05/0.2744, allocations: 23.23 kB / 485.4 MB, free: 25.05 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.2751, allocations: 231.8 kB / 485.7 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2753, allocations: 252.5 kB / 485.9 MB, free: 24.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2753, allocations: 7.031 kB / 485.9 MB, free: 24.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2755, allocations: 107.6 kB / 486 MB, free: 24.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2755, allocations: 78.08 kB / 486.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.2756, allocations: 14.53 kB / 486.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.2758, allocations: 191.4 kB / 486.3 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.2759, allocations: 28.03 kB / 486.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.2759, allocations: 82.3 kB / 486.4 MB, free: 24.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.2763, allocations: 284.5 kB / 486.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2763, allocations: 3 kB / 486.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2763, allocations: 0 / 486.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2763, allocations: 0 / 486.7 MB, free: 24.5 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001806/0.2781, allocations: 2.276 MB / 489 MB, free: 23.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2781, allocations: 9.797 kB / 489 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.2788, allocations: 105.2 kB / 489.1 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.2791, allocations: 252.7 kB / 489.3 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2791, allocations: 4.656 kB / 489.3 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2792, allocations: 10.47 kB / 489.3 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.2796, allocations: 263.8 kB / 489.6 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2796, allocations: 7.984 kB / 489.6 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.2796, allocations: 6.25 kB / 489.6 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2796, allocations: 0.6562 kB / 489.6 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.2799, allocations: 221.1 kB / 489.8 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.2802, allocations: 258.9 kB / 490.1 MB, free: 22.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2805, allocations: 219.3 kB / 490.3 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.2808, allocations: 188.6 kB / 490.5 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2808, allocations: 1.406 kB / 490.5 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.2813, allocations: 0.521 MB / 491 MB, free: 22.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.2813, allocations: 0 / 491 MB, free: 22.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001217/0.2825, allocations: 0.7698 MB / 491.8 MB, free: 21.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.2826, allocations: 160.5 kB / 491.9 MB, free: 21.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2828, allocations: 214.1 kB / 492.1 MB, free: 21.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2828, allocations: 27.89 kB / 492.2 MB, free: 21.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.2829, allocations: 111.2 kB / 492.3 MB, free: 21.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.2829, allocations: 50.66 kB / 492.3 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.283, allocations: 54.45 kB / 492.4 MB, free: 21.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.2831, allocations: 334.4 kB / 492.7 MB, free: 21.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.2833, allocations: 134.9 kB / 492.8 MB, free: 21.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2835, allocations: 144 kB / 493 MB, free: 21.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.284, allocations: 466.6 kB / 493.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.284, allocations: 5.219 kB / 493.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006136/0.2847, allocations: 463.2 kB / 493.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.2847, allocations: 94.08 kB / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2847, allocations: 1.281 kB / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2847, allocations: 0.7031 kB / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2849, allocations: 20.3 kB / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2849, allocations: 0 / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.285, allocations: 20.86 kB / 494 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.2851, allocations: 44.55 kB / 494.1 MB, free: 20.52 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: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001994/0.2853, allocations: 262.8 kB / 494.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.2853, allocations: 29.81 kB / 494.3 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.2853, allocations: 16.34 kB / 494.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2853, allocations: 0 / 494.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2854, allocations: 2.281 kB / 494.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2854, allocations: 0 / 494.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2856, allocations: 275 kB / 494.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2856, allocations: 5.547 kB / 494.6 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.2856, allocations: 13.69 kB / 494.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2856, allocations: 1.5 kB / 494.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2856, allocations: 15.25 kB / 494.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2857, allocations: 0.9688 kB / 494.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2857, allocations: 1.641 kB / 494.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.2866, allocations: 0.7075 MB / 495.4 MB, free: 19.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2867, allocations: 128.5 kB / 495.5 MB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.2868, allocations: 26.97 kB / 495.5 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2869, allocations: 18.34 kB / 495.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.287, allocations: 21.94 kB / 495.6 MB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.287, allocations: 42.2 kB / 495.6 MB, free: 19.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.2871, allocations: 139.2 kB / 495.7 MB, free: 19.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2871, allocations: 0 / 495.7 MB, free: 19.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.2875, allocations: 85.75 kB / 495.8 MB, free: 19.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0006137/0.2881, allocations: 271.7 kB / 496.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008518/0.289, allocations: 0.5655 MB / 496.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.289, allocations: 0.875 kB / 496.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.2894, allocations: 412.2 kB / 497.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2897, allocations: 29.5 kB / 497.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.2905, allocations: 0.5444 MB / 497.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2907, allocations: 0.7315 MB / 498.4 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.2907, allocations: 20.42 kB / 498.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2907, allocations: 0 / 498.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.007168/0.2979, allocations: 3.712 MB / 0.4903 GB, free: 17.41 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480]