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.0009313/0.0009313, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001123/0.001123, allocations: 177.3 kB / 15.94 MB, free: 228 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.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.162/0.162, allocations: 3.883 MB / 294.9 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 356.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 51.17 MB / 407.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002376/0.1354, allocations: 1.241 MB / 408.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1376, allocations: 1.087 MB / 410 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1378, allocations: 3.938 kB / 410 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.138, allocations: 31.84 kB / 410.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.539e-05/0.1381, allocations: 23.89 kB / 410.1 MB, free: 14.03 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.0008243/0.1389, allocations: 191.4 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1391, allocations: 131.8 kB / 410.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.1392, allocations: 13.55 kB / 410.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1395, allocations: 107.6 kB / 410.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1396, allocations: 71.67 kB / 410.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1396, allocations: 8 kB / 410.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1399, allocations: 119.8 kB / 410.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.14, allocations: 27.84 kB / 410.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.1401, allocations: 61.64 kB / 410.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1404, allocations: 191.6 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1404, allocations: 0 / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1404, allocations: 4 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1404, allocations: 4 kB / 411 MB, free: 13.11 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.002693/0.1431, allocations: 2.205 MB / 413.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1432, allocations: 8.031 kB / 413.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.1438, allocations: 71.75 kB / 413.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1442, allocations: 242.6 kB / 413.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1442, allocations: 15.98 kB / 413.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1443, allocations: 8 kB / 413.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.1447, allocations: 253.5 kB / 413.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1447, allocations: 0 / 413.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1448, allocations: 7.953 kB / 413.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1448, allocations: 4 kB / 413.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.1451, allocations: 215.8 kB / 414 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.1455, allocations: 250.2 kB / 414.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.1459, allocations: 321.2 kB / 414.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1459, allocations: 4.031 kB / 414.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007913/0.1467, allocations: 0.5104 MB / 415.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.1467, allocations: 0 / 415.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001464/0.1482, allocations: 0.901 MB / 416 MB, free: 7.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1483, allocations: 172.5 kB / 416.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1485, allocations: 211.1 kB / 416.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1485, allocations: 29.64 kB / 416.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.1486, allocations: 112.7 kB / 416.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.1487, allocations: 43.31 kB / 416.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.1487, allocations: 8 kB / 416.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1488, allocations: 330.8 kB / 416.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1491, allocations: 136.2 kB / 417 MB, free: 6.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1493, allocations: 144.4 kB / 417.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1496, allocations: 232.3 kB / 417.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1496, allocations: 0 / 417.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006255/0.1502, allocations: 463.2 kB / 417.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.1503, allocations: 95.36 kB / 417.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1503, allocations: 0 / 417.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1504, allocations: 0 / 417.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1505, allocations: 23.98 kB / 417.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1505, allocations: 3.953 kB / 418 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1506, allocations: 27.89 kB / 418 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1507, allocations: 4 kB / 418 MB, free: 5.734 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.0002397/0.1509, allocations: 255.8 kB / 418.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.151, allocations: 27.72 kB / 418.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.151, allocations: 17.34 kB / 418.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.151, allocations: 4 kB / 418.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.151, allocations: 0 / 418.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.151, allocations: 3.953 kB / 418.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1513, allocations: 265.3 kB / 418.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1513, allocations: 0 / 418.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.1514, allocations: 15.92 kB / 418.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1514, allocations: 4 kB / 418.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.1514, allocations: 15.98 kB / 418.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1514, allocations: 0 / 418.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1514, allocations: 0 / 418.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.1523, allocations: 0.6924 MB / 419.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1525, allocations: 136.7 kB / 419.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.1525, allocations: 20 kB / 419.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1527, allocations: 24.03 kB / 419.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.1528, allocations: 27.91 kB / 419.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.1528, allocations: 15.98 kB / 419.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1529, allocations: 147.2 kB / 419.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1529, allocations: 0 / 419.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1533, allocations: 80 kB / 419.7 MB, free: 3.867 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.0005333/0.1538, allocations: 261.3 kB / 420 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.1547, allocations: 0.745 MB / 420.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.1548, allocations: 4 kB / 420.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.1554, allocations: 0.6392 MB / 421.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.1556, allocations: 24.11 kB / 421.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.1564, allocations: 0.5208 MB / 421.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1567, allocations: 0.7316 MB / 422.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.1568, allocations: 16.55 kB / 422.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1568, allocations: 19.42 kB / 422.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1568, allocations: 0 / 422.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of Templates: time 0.2449/0.4017, allocations: 3.659 MB / 426.3 MB, free: 46.93 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: