Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009919/0.0009919, allocations: 168.7 kB / 15.95 MB, free: 204 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1494/0.1494, allocations: 3.882 MB / 295 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 8 kB / 356.6 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 51.17 MB / 407.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002421/0.1283, allocations: 1.681 MB / 409.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1313, allocations: 1.562 MB / 411.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1317, allocations: 4 kB / 411.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1319, allocations: 27.67 kB / 411.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.1328, allocations: 179.4 kB / 411.3 MB, free: 12.91 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.001035/0.1338, allocations: 299.4 kB / 411.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.1346, allocations: 499 kB / 412 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1349, allocations: 90.09 kB / 412.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.1352, allocations: 163.4 kB / 412.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.1356, allocations: 235.1 kB / 412.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.1357, allocations: 20 kB / 412.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.1365, allocations: 371.4 kB / 412.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1366, allocations: 83.64 kB / 413 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.1367, allocations: 77.52 kB / 413.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.1376, allocations: 0.5499 MB / 413.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1376, allocations: 4 kB / 413.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1376, allocations: 0 / 413.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1376, allocations: 0 / 413.6 MB, free: 10.55 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001366/0.139, allocations: 0.634 MB / 414.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1391, allocations: 12.03 kB / 414.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.1404, allocations: 164.8 kB / 414.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.1411, allocations: 358 kB / 414.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.1411, allocations: 32.66 kB / 414.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1413, allocations: 47.84 kB / 414.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1424, allocations: 489.7 kB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1424, allocations: 0 / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1425, allocations: 12 kB / 415.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1425, allocations: 11.94 kB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1439, allocations: 0.5452 MB / 415.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.1462, allocations: 1.217 MB / 417.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.1477, allocations: 0.5355 MB / 417.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.1484, allocations: 298 kB / 417.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.1485, allocations: 16.31 kB / 418 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.1486, allocations: 39 kB / 418 MB, free: 5.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.1486, allocations: 0 / 418 MB, free: 5.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002387/0.151, allocations: 0.8773 MB / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.151, allocations: 55.84 kB / 418.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1513, allocations: 229 kB / 419.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.1514, allocations: 33.7 kB / 419.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1516, allocations: 160.9 kB / 419.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.1517, allocations: 165.6 kB / 419.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1518, allocations: 12 kB / 419.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.152, allocations: 342.8 kB / 419.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.1527, allocations: 277 kB / 420.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.1534, allocations: 292.8 kB / 420.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.1541, allocations: 274.1 kB / 420.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1541, allocations: 0 / 420.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001731/0.1559, allocations: 0.6938 MB / 421.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1559, allocations: 7.953 kB / 421.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1559, allocations: 4 kB / 421.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1559, allocations: 7.984 kB / 421.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.1567, allocations: 151.8 kB / 421.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1568, allocations: 4 kB / 421.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.1571, allocations: 71.42 kB / 421.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.1573, allocations: 67.89 kB / 421.7 MB, free: 2.262 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: 6 (noise1.localSeed,noise2.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0002448/0.1575, allocations: 165.7 kB / 421.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.1576, allocations: 27.62 kB / 421.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.1598, allocations: 0.8539 MB / 422.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-05/0.1598, allocations: 8 kB / 422.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1599, allocations: 0 / 422.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1599, allocations: 11.98 kB / 422.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.1607, allocations: 0.6144 MB / 423.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.1608, allocations: 7.984 kB / 423.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.1615, allocations: 127.8 kB / 423.5 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.1615, allocations: 4 kB / 423.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.1616, allocations: 19.97 kB / 423.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1616, allocations: 4 kB / 423.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1616, allocations: 4 kB / 423.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1867/0.3483, allocations: 1.21 MB / 424.7 MB, free: 47.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3485, allocations: 120.2 kB / 424.8 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3486, allocations: 12.23 kB / 424.9 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.349, allocations: 36.23 kB / 424.9 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.3493, allocations: 62.11 kB / 424.9 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.3494, allocations: 72.5 kB / 425 MB, free: 47.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3496, allocations: 167.8 kB / 425.2 MB, free: 47.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3496, allocations: 0 / 425.2 MB, free: 47.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.3505, allocations: 166.5 kB / 425.3 MB, free: 47.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (crossCorrelationTest.correlation.int_X,crossCorrelationTest.correlation.int_Y,crossCorrelationTest.correlation.int_X2,crossCorrelationTest.correlation.int_Y2,crossCorrelationTest.correlation.int_XY,autoCorrelationTest.correlationTest.correlation.int_X,autoCorrelationTest.correlationTest.correlation.int_Y,autoCorrelationTest.correlationTest.correlation.int_X2,autoCorrelationTest.correlationTest.correlation.int_Y2,autoCorrelationTest.correlationTest.correlation.int_XY) * Number of discrete variables: 10 ($cse4[1],$cse4[2],$cse6[1],$cse6[2],$cse8[1],$cse8[2],$cse10[1],$cse10[2],noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 47 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.001258/0.3518, allocations: 347.4 kB / 425.7 MB, free: 46.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3535, allocations: 0.6859 MB / 426.4 MB, free: 46.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3535, allocations: 0 / 426.4 MB, free: 46.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008349/0.3543, allocations: 493.1 kB / 426.9 MB, free: 46.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3547, allocations: 34.58 kB / 426.9 MB, free: 46.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3565, allocations: 1.14 MB / 428 MB, free: 46.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3568, allocations: 0.8142 MB / 428.8 MB, free: 45.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005099/0.3573, allocations: 96.47 kB / 428.9 MB, free: 45.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.3575, allocations: 59.23 kB / 429 MB, free: 45.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3575, allocations: 4 kB / 429 MB, free: 45.64 MB / 350.1 MB Notification: Performance of Templates: time 0.01195/0.3695, allocations: 6.749 MB / 435.7 MB, free: 45.09 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile Environment - environmentSimulation: (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) Environment - environmentSimulation: