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.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.0008215/0.0008215, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007797/0.0007797, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8828/0.8828, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.01462/0.01462, allocations: 3.141 MB / 263.1 MB, free: 10.27 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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 387 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.872e-05, allocations: 2.281 kB / 387 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001977/0.002006, allocations: 1.496 MB / 388.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.003399, allocations: 1.152 MB / 389.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.003469, allocations: 3.938 kB / 389.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.003608, allocations: 35.67 kB / 389.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.003669, allocations: 27.78 kB / 389.7 MB, free: 8.98 MB / 362.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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.0043, allocations: 251 kB / 390 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.004557, allocations: 283.3 kB / 390.2 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.0046, allocations: 17.78 kB / 390.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.005086, allocations: 131.7 kB / 390.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.005162, allocations: 67.78 kB / 390.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.005185, allocations: 12 kB / 390.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.005435, allocations: 199.6 kB / 390.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.005479, allocations: 31.84 kB / 390.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.005541, allocations: 55.84 kB / 390.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.005878, allocations: 319 kB / 391.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00588, allocations: 0 / 391.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005882, allocations: 0 / 391.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005887, allocations: 0 / 391.1 MB, free: 7.637 MB / 362.7 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.001553/0.00744, allocations: 2.16 MB / 393.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.007474, allocations: 11.97 kB / 393.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.007873, allocations: 104.6 kB / 393.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.008099, allocations: 193.3 kB / 393.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.00812, allocations: 8.375 kB / 393.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.008139, allocations: 8.375 kB / 393.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.008467, allocations: 345.7 kB / 393.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.008474, allocations: 192 / 393.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.008488, allocations: 4.375 kB / 393.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.008496, allocations: 7.938 kB / 393.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.008749, allocations: 299.2 kB / 394.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.008914, allocations: 178 kB / 394.4 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.009144, allocations: 296.7 kB / 394.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.009343, allocations: 273 kB / 394.9 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.009353, allocations: 4 kB / 394.9 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.009715, allocations: 0.5806 MB / 395.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 7.62e-07/0.009716, allocations: 3.938 kB / 395.5 MB, free: 2.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008003/0.01052, allocations: 0.9252 MB / 396.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.01058, allocations: 152.5 kB / 396.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01072, allocations: 219 kB / 396.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.01074, allocations: 29.77 kB / 396.8 MB, free: 1.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.01079, allocations: 112.6 kB / 396.9 MB, free: 1.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.01083, allocations: 55.59 kB / 397 MB, free: 1.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.01089, allocations: 53.69 kB / 397 MB, free: 1.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003667/0.01125, allocations: 330.8 kB / 397.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.01143, allocations: 219.5 kB / 397.6 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01159, allocations: 227.8 kB / 397.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.01191, allocations: 464.7 kB / 398.2 MB, free: 32 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01192, allocations: 4 kB / 398.2 MB, free: 28 kB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004329/0.01235, allocations: 0.5454 MB / 398.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.0124, allocations: 87.31 kB / 398.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.01241, allocations: 0 / 398.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01242, allocations: 0 / 398.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.0125, allocations: 23.98 kB / 398.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.0125, allocations: 0 / 398.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.01256, allocations: 23.83 kB / 398.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.01259, allocations: 32.14 kB / 399 MB, free: 15.28 MB / 378.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: 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.0001415/0.01273, allocations: 247.7 kB / 399.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.01276, allocations: 35.72 kB / 399.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.01279, allocations: 17.45 kB / 399.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01279, allocations: 4 kB / 399.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01279, allocations: 0 / 399.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.0128, allocations: 0 / 399.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.01291, allocations: 189.1 kB / 399.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01292, allocations: 3.984 kB / 399.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.01294, allocations: 8 kB / 399.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01294, allocations: 8 kB / 399.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.01296, allocations: 15.92 kB / 399.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01296, allocations: 0 / 399.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01296, allocations: 4 kB / 399.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.01357, allocations: 0.7696 MB / 400.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.01365, allocations: 55.81 kB / 400.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.01369, allocations: 23.98 kB / 400.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.01373, allocations: 15.94 kB / 400.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.01379, allocations: 19.97 kB / 400.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.01383, allocations: 43.94 kB / 400.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.447e-05/0.01392, allocations: 152.6 kB / 400.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 400.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.01415, allocations: 83.86 kB / 400.6 MB, free: 13.5 MB / 378.7 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.0003781/0.01452, allocations: 278.1 kB / 400.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.0151, allocations: 0.7355 MB / 401.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0151, allocations: 4 kB / 401.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.0154, allocations: 466 kB / 402.1 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.01559, allocations: 28 kB / 402.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.01622, allocations: 0.6331 MB / 402.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.262e-05/0.0163, allocations: 119.1 kB / 402.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.01632, allocations: 16.5 kB / 402.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01632, allocations: 4 kB / 402.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of Templates: time 0.004655/0.02098, allocations: 3.712 MB / 406.6 MB, free: 7.434 MB / 378.7 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] [Calling sys.exit(0), Time elapsed: 4.833482578396797] Failed to read output from testmodel.py, exit status != 0: 0.025749380700290203 0.039429236 0.030984480000000002 Calling exit ...