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.001485/0.001485, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00161/0.00161, allocations: 222.3 kB / 23 MB, free: 4.91 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.0284/0.0284, allocations: 3.932 MB / 317.1 MB, free: 15.14 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.002052/0.002052, allocations: 67.89 kB / 440.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 54.16 MB / 495.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002927/0.1164, allocations: 1.5 MB / 496.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1186, allocations: 1.145 MB / 497.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1187, allocations: 7.938 kB / 497.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1189, allocations: 39.66 kB / 497.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.119, allocations: 23.78 kB / 497.8 MB, free: 2.195 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.000843/0.1198, allocations: 247.2 kB / 498 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.1202, allocations: 271.4 kB / 498.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1202, allocations: 5.75 kB / 498.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1205, allocations: 111.7 kB / 498.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1206, allocations: 79.59 kB / 498.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1206, allocations: 12 kB / 498.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.121, allocations: 203.6 kB / 498.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.121, allocations: 27.86 kB / 498.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.1211, allocations: 75.58 kB / 498.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1216, allocations: 287 kB / 499.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1216, allocations: 4 kB / 499.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1216, allocations: 0 / 499.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1216, allocations: 0 / 499.1 MB, free: 0.8945 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.002582/0.1242, allocations: 2.163 MB / 0.4895 GB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1242, allocations: 8.031 kB / 0.4895 GB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.1249, allocations: 108.7 kB / 0.4896 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1252, allocations: 186.2 kB / 0.4898 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1253, allocations: 4.375 kB / 0.4898 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1253, allocations: 12.31 kB / 0.4898 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1258, allocations: 350.9 kB / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1258, allocations: 0 / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1258, allocations: 4 kB / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1258, allocations: 0 / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1263, allocations: 295.2 kB / 0.4904 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.1266, allocations: 185.9 kB / 0.4906 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.127, allocations: 300.5 kB / 0.4909 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.1274, allocations: 273.4 kB / 0.4912 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.1274, allocations: 0 / 0.4912 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/0.128, allocations: 0.5913 MB / 0.4917 GB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.128, allocations: 0 / 0.4917 GB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001436/0.1295, allocations: 0.9292 MB / 0.4926 GB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.1296, allocations: 148.5 kB / 0.4928 GB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1298, allocations: 215.1 kB / 0.493 GB, free: 10.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1299, allocations: 33.77 kB / 0.493 GB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.1299, allocations: 116.6 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.13, allocations: 51.53 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.1301, allocations: 49.7 kB / 0.4932 GB, free: 10.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1303, allocations: 330.8 kB / 0.4935 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.1306, allocations: 227.5 kB / 0.4938 GB, free: 10 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1309, allocations: 223.7 kB / 0.494 GB, free: 9.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.1315, allocations: 469.4 kB / 0.4944 GB, free: 9.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1315, allocations: 4 kB / 0.4944 GB, free: 9.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000781/0.1323, allocations: 0.5457 MB / 0.495 GB, free: 8.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.1324, allocations: 83.47 kB / 0.495 GB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1324, allocations: 3.938 kB / 0.495 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1324, allocations: 0 / 0.495 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1326, allocations: 23.92 kB / 0.4951 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1326, allocations: 0 / 0.4951 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1327, allocations: 23.89 kB / 0.4951 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.1327, allocations: 35.95 kB / 0.4951 GB, free: 8.527 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.0002428/0.133, allocations: 239.8 kB / 0.4954 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.133, allocations: 39.83 kB / 0.4954 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1331, allocations: 17.39 kB / 0.4954 GB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1331, allocations: 0 / 0.4954 GB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1331, allocations: 0 / 0.4954 GB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1331, allocations: 0 / 0.4954 GB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1333, allocations: 185.1 kB / 0.4956 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1333, allocations: 3.938 kB / 0.4956 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.1334, allocations: 15.98 kB / 0.4956 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1334, allocations: 0 / 0.4956 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.1334, allocations: 11.98 kB / 0.4956 GB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1334, allocations: 7.938 kB / 0.4956 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1334, allocations: 0 / 0.4956 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.1345, allocations: 0.7659 MB / 0.4964 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1346, allocations: 55.75 kB / 0.4964 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.1347, allocations: 23.98 kB / 0.4964 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1348, allocations: 15.98 kB / 0.4965 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.1349, allocations: 27.92 kB / 0.4965 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.135, allocations: 43.92 kB / 0.4965 GB, free: 6.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1351, allocations: 148.6 kB / 0.4967 GB, free: 6.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1351, allocations: 0 / 0.4967 GB, free: 6.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.1355, allocations: 79.92 kB / 0.4968 GB, free: 6.766 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.0006878/0.1361, allocations: 278 kB / 0.497 GB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.1372, allocations: 0.7317 MB / 0.4977 GB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1372, allocations: 0 / 0.4977 GB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.1378, allocations: 474 kB / 0.4982 GB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.138, allocations: 20 kB / 0.4982 GB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1391, allocations: 0.6461 MB / 0.4988 GB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.1392, allocations: 123 kB / 0.499 GB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.1392, allocations: 19.42 kB / 0.499 GB, free: 4.383 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1392, allocations: 4 kB / 0.499 GB, free: 4.379 MB / 366.1 MB Notification: Performance of Templates: time 0.0075/0.1467, allocations: 3.722 MB / 0.5026 GB, free: 0.6719 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: 8.148128978908062] Failed to read output from testmodel.py, exit status != 0: 0.15478669805452228 0.17137996800000002 0.046594926 Calling exit ...