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.002017/0.002017, allocations: 80.41 kB / 19.18 MB, free: 2.379 MB / 14.72 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.00237/0.00237, allocations: 171.7 kB / 22.46 MB, free: 4.996 MB / 14.72 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.05508/0.05508, allocations: 3.154 MB / 262.3 MB, free: 13.71 MB / 254.1 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.332e-06/1.332e-06, allocations: 0 / 386.2 MB, free: 308 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.568e-05, allocations: 2.281 kB / 386.2 MB, free: 304 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002744/0.002769, allocations: 1.524 MB / 387.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.004939, allocations: 1.153 MB / 388.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.005006, allocations: 7.938 kB / 388.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.005165, allocations: 35.67 kB / 388.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.005243, allocations: 23.73 kB / 389 MB, free: 13.54 MB / 318.1 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.0007782/0.006021, allocations: 247.1 kB / 389.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.006356, allocations: 279.3 kB / 389.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.006402, allocations: 9.797 kB / 389.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.006686, allocations: 139.7 kB / 389.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.006791, allocations: 63.8 kB / 389.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.006826, allocations: 16 kB / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.007189, allocations: 207.5 kB / 389.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.007235, allocations: 27.8 kB / 389.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.007337, allocations: 51.84 kB / 390 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.007789, allocations: 319.1 kB / 390.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007791, allocations: 0 / 390.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007792, allocations: 0 / 390.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.007796, allocations: 0 / 390.3 MB, free: 12.2 MB / 318.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.00252/0.01032, allocations: 2.152 MB / 392.4 MB, free: 10 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.01035, allocations: 12.03 kB / 392.5 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.01101, allocations: 100.7 kB / 392.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.01132, allocations: 197.3 kB / 392.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01135, allocations: 4.375 kB / 392.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.01138, allocations: 12.38 kB / 392.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.01191, allocations: 347.1 kB / 393.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.01192, allocations: 192 / 393.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01194, allocations: 4.375 kB / 393.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.01194, allocations: 7.938 kB / 393.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.01244, allocations: 307.2 kB / 393.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.01268, allocations: 181.9 kB / 393.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.01312, allocations: 296.7 kB / 393.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.0135, allocations: 273 kB / 394.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.01351, allocations: 3.984 kB / 394.2 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006671/0.01418, allocations: 0.5806 MB / 394.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.01418, allocations: 3.938 kB / 394.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001465/0.01565, allocations: 0.929 MB / 395.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.01576, allocations: 152.4 kB / 395.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01597, allocations: 215.2 kB / 396 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.016, allocations: 25.7 kB / 396.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.01608, allocations: 112.6 kB / 396.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.01613, allocations: 47.62 kB / 396.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.01623, allocations: 61.7 kB / 396.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.01639, allocations: 330.8 kB / 396.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.01671, allocations: 223.5 kB / 396.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.01704, allocations: 223.8 kB / 397 MB, free: 5.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.01767, allocations: 464.4 kB / 397.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01767, allocations: 0 / 397.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007883/0.01846, allocations: 0.5376 MB / 398 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.01855, allocations: 91.31 kB / 398.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01855, allocations: 0 / 398.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01857, allocations: 4 kB / 398.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.0187, allocations: 15.98 kB / 398.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01871, allocations: 3.984 kB / 398.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01881, allocations: 19.89 kB / 398.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.01887, allocations: 40.59 kB / 398.2 MB, free: 3.844 MB / 318.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.000264/0.01914, allocations: 243.7 kB / 398.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.0192, allocations: 39.73 kB / 398.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.01923, allocations: 13.47 kB / 398.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01923, allocations: 0 / 398.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.01923, allocations: 0 / 398.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.01924, allocations: 4 kB / 398.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.01945, allocations: 181.1 kB / 398.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01945, allocations: 0 / 398.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.01951, allocations: 11.98 kB / 398.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01951, allocations: 192 / 398.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.01956, allocations: 19.94 kB / 398.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01956, allocations: 7.938 kB / 398.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01956, allocations: 4 kB / 398.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.02069, allocations: 0.7697 MB / 399.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.02081, allocations: 55.81 kB / 399.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.02088, allocations: 19.98 kB / 399.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.02099, allocations: 15.98 kB / 399.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.02108, allocations: 19.98 kB / 399.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.02115, allocations: 43.88 kB / 399.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.02129, allocations: 152.6 kB / 399.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02129, allocations: 0 / 399.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.02164, allocations: 87.86 kB / 399.9 MB, free: 2.082 MB / 318.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.0006226/0.02226, allocations: 264 kB / 400.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.02329, allocations: 0.7355 MB / 400.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02329, allocations: 0 / 400.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.02388, allocations: 470 kB / 401.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.02413, allocations: 36.25 kB / 401.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.02503, allocations: 0.6078 MB / 402 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.02514, allocations: 118.9 kB / 402.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.02519, allocations: 12.48 kB / 402.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.02523, allocations: 24.48 kB / 402.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02523, allocations: 0 / 402.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Templates: time 0.00837/0.0336, allocations: 4.218 MB / 406.3 MB, free: 11.54 MB / 334.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] [Calling sys.exit(0), Time elapsed: 4.330459043383598] Failed to read output from testmodel.py, exit status != 0: 0.0417969785630703 0.057759526000000005 0.04675734 Calling exit ...