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.000805/0.000805, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002143, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001005/0.001005, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002319, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08964/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.05548/0.05548, allocations: 3.155 MB / 247.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004366/0.05984, allocations: 1.2 MB / 248.5 MB, free: 10.58 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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.032e-06/1.032e-06, allocations: 0 / 249.8 MB, free: 9.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.271e-05, allocations: 2.312 kB / 249.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002861/0.002883, allocations: 1.607 MB / 251.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.004822, allocations: 1.18 MB / 252.6 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.0049, allocations: 7.938 kB / 252.6 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.005004, allocations: 39.59 kB / 252.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.005076, allocations: 27.72 kB / 252.6 MB, free: 6.41 MB / 250.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.0006828/0.005758, allocations: 250.9 kB / 252.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.00608, allocations: 263.5 kB / 253.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.006121, allocations: 14.45 kB / 253.2 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.006485, allocations: 155.7 kB / 253.3 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.006582, allocations: 63.8 kB / 253.4 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.006613, allocations: 12 kB / 253.4 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.007025, allocations: 211.5 kB / 253.6 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.007084, allocations: 23.88 kB / 253.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.007161, allocations: 43.86 kB / 253.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.007552, allocations: 255.2 kB / 253.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.007566, allocations: 4 kB / 253.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.007567, allocations: 0 / 253.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.007581, allocations: 4 kB / 253.9 MB, free: 5.137 MB / 250.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.001713/0.009294, allocations: 1.543 MB / 255.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.009331, allocations: 8.031 kB / 255.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.009895, allocations: 204.5 kB / 255.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.01016, allocations: 186.2 kB / 255.8 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.01018, allocations: 8.375 kB / 255.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.0102, allocations: 8.375 kB / 255.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.01049, allocations: 247.1 kB / 256.1 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.0105, allocations: 192 / 256.1 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.01052, allocations: 4.375 kB / 256.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01053, allocations: 3.938 kB / 256.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.01072, allocations: 189 kB / 256.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.01087, allocations: 107.5 kB / 256.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.01106, allocations: 192.5 kB / 256.6 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.01122, allocations: 173.1 kB / 256.8 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.01123, allocations: 8 kB / 256.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.01165, allocations: 493.5 kB / 257.2 MB, free: 1.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.01165, allocations: 0 / 257.2 MB, free: 1.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.000653/0.0123, allocations: 0.5956 MB / 257.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.01247, allocations: 350.6 kB / 258.2 MB, free: 500 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.01262, allocations: 202.5 kB / 258.4 MB, free: 284 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01264, allocations: 33.64 kB / 258.4 MB, free: 244 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.01269, allocations: 100.6 kB / 258.5 MB, free: 140 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.01274, allocations: 47.62 kB / 258.6 MB, free: 92 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.01282, allocations: 49.66 kB / 258.6 MB, free: 36 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01295, allocations: 338.9 kB / 258.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.01309, allocations: 142.4 kB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.01321, allocations: 135.8 kB / 259.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.01351, allocations: 330.2 kB / 259.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.01351, allocations: 0 / 259.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003521/0.01386, allocations: 358.5 kB / 259.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.01395, allocations: 83.38 kB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01396, allocations: 0 / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01397, allocations: 0 / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01409, allocations: 31.84 kB / 260 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01409, allocations: 4 kB / 260 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.01417, allocations: 23.84 kB / 260 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.01423, allocations: 35.94 kB / 260.1 MB, free: 14.48 MB / 266.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,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,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.0001881/0.01441, allocations: 226.6 kB / 260.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.01447, allocations: 35.97 kB / 260.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.0145, allocations: 17.45 kB / 260.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.0145, allocations: 0 / 260.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01451, allocations: 7.938 kB / 260.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01451, allocations: 0 / 260.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.01467, allocations: 121.8 kB / 260.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01467, allocations: 0 / 260.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.01473, allocations: 15.98 kB / 260.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.01481, allocations: 43.77 kB / 260.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.01482, allocations: 4 kB / 260.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.01485, allocations: 19.97 kB / 260.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01485, allocations: 0 / 260.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.01486, allocations: 3.938 kB / 260.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.01538, allocations: 0.5166 MB / 261.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.01544, allocations: 27.92 kB / 261.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.01552, allocations: 16 kB / 261.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.01559, allocations: 19.97 kB / 261.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.01564, allocations: 35.94 kB / 261.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.01571, allocations: 62.17 kB / 261.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01571, allocations: 4 kB / 261.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.01605, allocations: 79.88 kB / 261.3 MB, free: 13.14 MB / 266.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.0007104/0.01676, allocations: 312.2 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.01731, allocations: 0.5366 MB / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01731, allocations: 0 / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.01763, allocations: 378.9 kB / 262.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.0179, allocations: 156.9 kB / 262.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.01886, allocations: 0.5213 MB / 263.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01891, allocations: 75.33 kB / 263.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.01896, allocations: 16.67 kB / 263.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.01919, allocations: 135.3 kB / 263.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01919, allocations: 0 / 263.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of Templates: time 0.00847/0.02766, allocations: 4.664 MB / 268.1 MB, free: 6.336 MB / 266.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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.607786165550351]