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.001404/0.001404, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001436/0.001436, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.02842/0.02842, allocations: 3.934 MB / 316.4 MB, free: 15.11 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 0.002138/0.002138, allocations: 67.91 kB / 440.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 54.16 MB / 494.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003631/0.1426, allocations: 1.5 MB / 495.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1451, allocations: 1.145 MB / 497 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.1451, allocations: 7.938 kB / 497 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.1453, allocations: 35.67 kB / 497 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.1454, allocations: 23.8 kB / 497 MB, free: 2.16 MB / 350.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.0009056/0.1463, allocations: 247.2 kB / 497.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.1467, allocations: 267.5 kB / 497.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.1468, allocations: 9.734 kB / 497.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.1471, allocations: 111.6 kB / 497.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1472, allocations: 75.66 kB / 497.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1472, allocations: 12 kB / 497.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1476, allocations: 203.6 kB / 498 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1477, allocations: 31.86 kB / 498 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.1478, allocations: 71.59 kB / 498.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.1482, allocations: 291 kB / 498.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1482, allocations: 0 / 498.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1482, allocations: 0 / 498.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1482, allocations: 0 / 498.3 MB, free: 0.8633 MB / 350.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.002659/0.1509, allocations: 2.16 MB / 0.4888 GB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1509, allocations: 8.031 kB / 0.4888 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006734/0.1516, allocations: 100.7 kB / 0.4889 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.152, allocations: 206 kB / 0.4891 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.152, allocations: 8.359 kB / 0.4891 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.152, allocations: 16.31 kB / 0.4891 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.1525, allocations: 344.1 kB / 0.4894 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1526, allocations: 0 / 0.4894 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1526, allocations: 4 kB / 0.4894 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1526, allocations: 0 / 0.4894 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.153, allocations: 311.2 kB / 0.4897 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1533, allocations: 170.1 kB / 0.4899 GB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.1537, allocations: 300.5 kB / 0.4902 GB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.1541, allocations: 273.4 kB / 0.4904 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1541, allocations: 3.938 kB / 0.4904 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/0.1548, allocations: 0.5766 MB / 0.491 GB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.052e-06/0.1548, allocations: 4 kB / 0.491 GB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001462/0.1563, allocations: 0.9335 MB / 0.4919 GB, free: 11.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.1564, allocations: 148.5 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1567, allocations: 211.1 kB / 0.4923 GB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1567, allocations: 29.7 kB / 0.4923 GB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.1568, allocations: 112.6 kB / 0.4924 GB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.1569, allocations: 51.56 kB / 0.4924 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.157, allocations: 57.64 kB / 0.4925 GB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1571, allocations: 326.9 kB / 0.4928 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1574, allocations: 227.5 kB / 0.493 GB, free: 9.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1577, allocations: 227.7 kB / 0.4932 GB, free: 9.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.1584, allocations: 477.2 kB / 0.4937 GB, free: 9.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1584, allocations: 0 / 0.4937 GB, free: 9.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007596/0.1591, allocations: 0.534 MB / 0.4942 GB, free: 8.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.1592, allocations: 87.56 kB / 0.4943 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1592, allocations: 4 kB / 0.4943 GB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1593, allocations: 3.938 kB / 0.4943 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1594, allocations: 27.91 kB / 0.4943 GB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1594, allocations: 0 / 0.4943 GB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.1595, allocations: 15.95 kB / 0.4943 GB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.1596, allocations: 35.94 kB / 0.4944 GB, free: 8.492 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.0002524/0.1598, allocations: 243.7 kB / 0.4946 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.1599, allocations: 31.86 kB / 0.4946 GB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1599, allocations: 17.41 kB / 0.4947 GB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1599, allocations: 0 / 0.4947 GB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1599, allocations: 0 / 0.4947 GB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1599, allocations: 3.984 kB / 0.4947 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1602, allocations: 185.1 kB / 0.4948 GB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1602, allocations: 0 / 0.4948 GB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.1602, allocations: 11.98 kB / 0.4949 GB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1602, allocations: 0 / 0.4949 GB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.1603, allocations: 15.98 kB / 0.4949 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1603, allocations: 7.938 kB / 0.4949 GB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1603, allocations: 3.984 kB / 0.4949 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1614, allocations: 0.7716 MB / 0.4956 GB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1615, allocations: 55.75 kB / 0.4957 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.1616, allocations: 31.92 kB / 0.4957 GB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1617, allocations: 23.92 kB / 0.4957 GB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1618, allocations: 15.98 kB / 0.4958 GB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.1618, allocations: 39.94 kB / 0.4958 GB, free: 6.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.162, allocations: 148.6 kB / 0.4959 GB, free: 6.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.162, allocations: 0 / 0.4959 GB, free: 6.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1623, allocations: 79.92 kB / 0.496 GB, free: 6.727 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.0006866/0.163, allocations: 269.3 kB / 0.4963 GB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.164, allocations: 0.7278 MB / 0.497 GB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.164, allocations: 0 / 0.497 GB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.1646, allocations: 470 kB / 0.4974 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1649, allocations: 28.12 kB / 0.4975 GB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.1658, allocations: 0.6133 MB / 0.4981 GB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.166, allocations: 118.9 kB / 0.4982 GB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.166, allocations: 16.47 kB / 0.4982 GB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.1661, allocations: 23.42 kB / 0.4982 GB, free: 4.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1661, allocations: 0 / 0.4982 GB, free: 4.371 MB / 366.1 MB Notification: Performance of Templates: time 0.009379/0.1755, allocations: 4.308 MB / 0.5024 GB, free: 96 kB / 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: 4.877550220116973] Failed to read output from testmodel.py, exit status != 0: 0.1840258352458477 0.19937770200000002 0.048103164000000004 Calling exit ...