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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001185/0.001185, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.355/1.355, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.04056/0.04056, allocations: 3.919 MB / 307.3 MB, free: 3.215 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.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 0.001841/0.001841, allocations: 71.89 kB / 427.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 52.9 MB / 480.1 MB, free: 26.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002099/0.2307, allocations: 1.539 MB / 481.7 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2321, allocations: 1.161 MB / 482.8 MB, free: 24.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.2322, allocations: 0 / 482.8 MB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2323, allocations: 41.77 kB / 482.9 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.2324, allocations: 23.17 kB / 482.9 MB, free: 24.71 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.0005814/0.233, allocations: 234.5 kB / 483.1 MB, free: 24.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2331, allocations: 245.3 kB / 483.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2332, allocations: 8.219 kB / 483.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2333, allocations: 107.7 kB / 483.5 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.2334, allocations: 82.52 kB / 483.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2334, allocations: 12.75 kB / 483.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2337, allocations: 184.4 kB / 483.8 MB, free: 24.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.2337, allocations: 29.42 kB / 483.8 MB, free: 24.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.2338, allocations: 88.3 kB / 483.9 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2341, allocations: 276.9 kB / 484.1 MB, free: 24.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2341, allocations: 4 kB / 484.1 MB, free: 24.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2341, allocations: 0 / 484.1 MB, free: 24.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.2341, allocations: 0 / 484.1 MB, free: 24.16 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.001664/0.2357, allocations: 2.279 MB / 486.4 MB, free: 23.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2358, allocations: 9.281 kB / 486.4 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005764/0.2363, allocations: 105.6 kB / 486.5 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.2366, allocations: 256.3 kB / 486.8 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2366, allocations: 3.156 kB / 486.8 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2366, allocations: 9.75 kB / 486.8 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.2369, allocations: 253.3 kB / 487 MB, free: 22.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2369, allocations: 11.88 kB / 487.1 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.237, allocations: 6.906 kB / 487.1 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.237, allocations: 2.75 kB / 487.1 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2373, allocations: 218.7 kB / 487.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.2375, allocations: 253.8 kB / 487.5 MB, free: 22.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2377, allocations: 217.8 kB / 487.7 MB, free: 22.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.2379, allocations: 191.8 kB / 487.9 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.2379, allocations: 4 kB / 487.9 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.2384, allocations: 0.5266 MB / 488.5 MB, free: 21.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.2384, allocations: 0 / 488.5 MB, free: 21.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001012/0.2394, allocations: 0.7782 MB / 489.2 MB, free: 21.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.2394, allocations: 154.8 kB / 489.4 MB, free: 21.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2396, allocations: 219 kB / 489.6 MB, free: 21.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2396, allocations: 28.14 kB / 489.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.2397, allocations: 110.6 kB / 489.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.2397, allocations: 47.25 kB / 489.8 MB, free: 21.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.2398, allocations: 54.11 kB / 489.8 MB, free: 21.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.2398, allocations: 330.9 kB / 490.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.2401, allocations: 138.4 kB / 490.3 MB, free: 20.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.2403, allocations: 135.4 kB / 490.4 MB, free: 20.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.2408, allocations: 468.7 kB / 490.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2408, allocations: 4 kB / 490.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005707/0.2413, allocations: 468.3 kB / 491.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.2414, allocations: 93.7 kB / 491.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2414, allocations: 0.5625 kB / 491.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2414, allocations: 0 / 491.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2415, allocations: 18.62 kB / 491.5 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2415, allocations: 1.734 kB / 491.5 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.2416, allocations: 21.75 kB / 491.5 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.2417, allocations: 35.67 kB / 491.5 MB, free: 20.19 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.000186/0.2419, allocations: 267.6 kB / 491.8 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.2419, allocations: 29.83 kB / 491.8 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2419, allocations: 15.7 kB / 491.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2419, allocations: 1.25 kB / 491.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2419, allocations: 5.25 kB / 491.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2419, allocations: 0.8438 kB / 491.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2421, allocations: 275.4 kB / 492.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2421, allocations: 7.938 kB / 492.1 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.2422, allocations: 10.38 kB / 492.1 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2422, allocations: 0.6094 kB / 492.1 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.2422, allocations: 20.61 kB / 492.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2422, allocations: 0 / 492.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2422, allocations: 1.859 kB / 492.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.2431, allocations: 0.6989 MB / 492.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2432, allocations: 133 kB / 493 MB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.2433, allocations: 27.42 kB / 493 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2434, allocations: 13.03 kB / 493 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.2435, allocations: 22.25 kB / 493 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.2435, allocations: 42.59 kB / 493.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.2436, allocations: 142.6 kB / 493.2 MB, free: 19.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2436, allocations: 0 / 493.2 MB, free: 19.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.2439, allocations: 85.7 kB / 493.3 MB, free: 19.16 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.0005154/0.2444, allocations: 254.7 kB / 493.5 MB, free: 19.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.2452, allocations: 0.5701 MB / 494.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2452, allocations: 0 / 494.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.2456, allocations: 404.3 kB / 494.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.2459, allocations: 29.78 kB / 494.5 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.2466, allocations: 0.5605 MB / 495.1 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.2467, allocations: 0.7318 MB / 495.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.2468, allocations: 24.42 kB / 495.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2468, allocations: 0 / 495.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of Templates: time 0.006019/0.2528, allocations: 3.704 MB / 499.5 MB, free: 17.08 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] [Calling sys.exit(0), Time elapsed: 7.677255854010582] Failed to read output from testmodel.py, exit status != 0: 0.2595234280452132 0.269252539 0.032944422 Calling exit ...