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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1716/0.1716, allocations: 3.879 MB / 295 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 11.98 kB / 356.6 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 51.17 MB / 407.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001979/0.1213, allocations: 1.237 MB / 409 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1234, allocations: 1.091 MB / 410.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1235, allocations: 7.938 kB / 410.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1237, allocations: 19.8 kB / 410.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.1238, allocations: 19.81 kB / 410.2 MB, free: 13.93 MB / 350.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.0007541/0.1246, allocations: 191.6 kB / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1248, allocations: 211.5 kB / 410.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/0.1249, allocations: 13.55 kB / 410.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1251, allocations: 103.6 kB / 410.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1252, allocations: 75.66 kB / 410.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1253, allocations: 8 kB / 410.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.1255, allocations: 155.7 kB / 410.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1256, allocations: 19.92 kB / 410.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.1257, allocations: 65.56 kB / 411 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.126, allocations: 191.6 kB / 411.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.126, allocations: 0 / 411.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.126, allocations: 0 / 411.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.126, allocations: 0 / 411.2 MB, free: 12.91 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.002532/0.1285, allocations: 2.213 MB / 413.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1286, allocations: 12.03 kB / 413.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.1293, allocations: 103.7 kB / 413.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1296, allocations: 266.4 kB / 413.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.1297, allocations: 4 kB / 413.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1297, allocations: 12 kB / 413.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.1302, allocations: 247.3 kB / 414 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1302, allocations: 3.984 kB / 414 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.1302, allocations: 4 kB / 414 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1302, allocations: 3.953 kB / 414 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.1306, allocations: 235.8 kB / 414.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1309, allocations: 246.3 kB / 414.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.1313, allocations: 329.3 kB / 414.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.1317, allocations: 297.7 kB / 415.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1317, allocations: 0 / 415.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/0.1322, allocations: 0.5138 MB / 415.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.1322, allocations: 0 / 415.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001163/0.1334, allocations: 0.7622 MB / 416.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1335, allocations: 164.5 kB / 416.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1337, allocations: 211.1 kB / 416.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1338, allocations: 29.7 kB / 416.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.1338, allocations: 112.6 kB / 416.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.1339, allocations: 51.3 kB / 417 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.1339, allocations: 4 kB / 417 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1341, allocations: 334.9 kB / 417.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1343, allocations: 144.2 kB / 417.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1345, allocations: 136.4 kB / 417.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1348, allocations: 240.2 kB / 417.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1348, allocations: 0 / 417.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006195/0.1355, allocations: 471.3 kB / 418.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.1356, allocations: 91.38 kB / 418.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1356, allocations: 0 / 418.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1356, allocations: 3.938 kB / 418.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1357, allocations: 23.92 kB / 418.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1358, allocations: 11.94 kB / 418.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.1359, allocations: 23.91 kB / 418.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.1359, allocations: 31.94 kB / 418.4 MB, free: 5.289 MB / 350.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 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.1362, allocations: 251.8 kB / 418.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.1362, allocations: 27.91 kB / 418.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1363, allocations: 17.39 kB / 418.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1363, allocations: 7.938 kB / 418.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1363, allocations: 4 kB / 418.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1363, allocations: 3.953 kB / 418.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1366, allocations: 265.3 kB / 419 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1366, allocations: 0 / 419 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.1366, allocations: 11.98 kB / 419 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1366, allocations: 7.938 kB / 419 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.1367, allocations: 15.98 kB / 419 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1367, allocations: 0 / 419 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1367, allocations: 4 kB / 419 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.1376, allocations: 0.6894 MB / 419.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1377, allocations: 136.7 kB / 419.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.1378, allocations: 23.98 kB / 419.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1379, allocations: 23.98 kB / 419.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.138, allocations: 19.97 kB / 419.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.1381, allocations: 47.97 kB / 420 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1382, allocations: 143.2 kB / 420.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1382, allocations: 0 / 420.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1385, allocations: 79.92 kB / 420.2 MB, free: 3.402 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005339/0.1391, allocations: 268.9 kB / 420.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008948/0.14, allocations: 0.7529 MB / 421.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.14, allocations: 0 / 421.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.1406, allocations: 0.655 MB / 421.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1409, allocations: 27.94 kB / 421.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.1417, allocations: 0.5326 MB / 422.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.142, allocations: 0.7317 MB / 423.2 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.1421, allocations: 12.55 kB / 423.2 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1421, allocations: 11.44 kB / 423.2 MB, free: 352 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1421, allocations: 0 / 423.2 MB, free: 352 kB / 350.1 MB Notification: Performance of Templates: time 0.2011/0.3432, allocations: 3.614 MB / 426.8 MB, free: 46.84 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: