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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 193.8 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1365/0.1365, allocations: 3.888 MB / 293.8 MB, free: 3.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 55.91 kB / 354.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, allocations: 50.18 MB / 405 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003399/0.1129, allocations: 2.114 MB / 407.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1158, allocations: 1.698 MB / 408.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.116, allocations: 4 kB / 408.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1162, allocations: 31.67 kB / 408.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.1168, allocations: 203.4 kB / 409 MB, free: 13.84 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.0007908/0.1176, allocations: 327.3 kB / 409.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.1181, allocations: 0.5419 MB / 409.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1183, allocations: 103.4 kB / 410 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1184, allocations: 187.3 kB / 410.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1187, allocations: 243 kB / 410.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.1187, allocations: 28 kB / 410.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.1193, allocations: 395.4 kB / 410.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.1194, allocations: 99.58 kB / 410.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1196, allocations: 182.9 kB / 411.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.1203, allocations: 0.7211 MB / 411.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1203, allocations: 4 kB / 411.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1203, allocations: 3.938 kB / 411.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1203, allocations: 0 / 411.8 MB, free: 11.03 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.001191/0.1215, allocations: 0.7107 MB / 412.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1216, allocations: 15.97 kB / 412.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.1228, allocations: 160.3 kB / 412.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.1235, allocations: 383 kB / 413.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.1235, allocations: 29.03 kB / 413.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.1236, allocations: 40.38 kB / 413.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1246, allocations: 474.3 kB / 413.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1247, allocations: 192 / 413.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.1247, allocations: 19.94 kB / 413.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1247, allocations: 11.94 kB / 413.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.1261, allocations: 0.5178 MB / 414.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.128, allocations: 1.214 MB / 415.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.1294, allocations: 0.5082 MB / 415.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.1301, allocations: 286 kB / 416.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.1301, allocations: 16.41 kB / 416.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1302, allocations: 35 kB / 416.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.1302, allocations: 4 kB / 416.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002275/0.1325, allocations: 0.8344 MB / 417 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1325, allocations: 59.84 kB / 417.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1327, allocations: 232.9 kB / 417.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.1328, allocations: 41.64 kB / 417.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1329, allocations: 157 kB / 417.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.133, allocations: 169.5 kB / 417.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1332, allocations: 110.2 kB / 417.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1334, allocations: 346.7 kB / 418.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.1341, allocations: 265 kB / 418.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.1348, allocations: 280.9 kB / 418.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.136, allocations: 0.4998 MB / 419.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.136, allocations: 0 / 419.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001606/0.1377, allocations: 0.6859 MB / 419.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1377, allocations: 4 kB / 419.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1377, allocations: 0 / 419.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1377, allocations: 7.938 kB / 419.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.1385, allocations: 147.7 kB / 420 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1385, allocations: 4 kB / 420 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1389, allocations: 59.5 kB / 420.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.139, allocations: 70.64 kB / 420.1 MB, free: 2.477 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 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.1393, allocations: 173.6 kB / 420.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.1394, allocations: 27.62 kB / 420.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.1414, allocations: 0.8305 MB / 421.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-05/0.1415, allocations: 11.98 kB / 421.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1415, allocations: 4 kB / 421.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1415, allocations: 0 / 421.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.1423, allocations: 0.6183 MB / 421.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1423, allocations: 4 kB / 421.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.1431, allocations: 115.8 kB / 421.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1431, allocations: 7.938 kB / 421.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.1432, allocations: 23.97 kB / 421.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1432, allocations: 0 / 421.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1432, allocations: 4 kB / 421.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.172/0.3152, allocations: 1.186 MB / 423.1 MB, free: 49.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.3153, allocations: 116.6 kB / 423.2 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3155, allocations: 10.31 kB / 423.3 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.3159, allocations: 30.45 kB / 423.3 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.3161, allocations: 61.23 kB / 423.3 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.3163, allocations: 75.2 kB / 423.4 MB, free: 49.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.3164, allocations: 160.6 kB / 423.6 MB, free: 49.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3164, allocations: 0 / 423.6 MB, free: 49.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005952/0.317, allocations: 176.2 kB / 423.8 MB, free: 49.3 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 (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.0007259/0.3178, allocations: 353.5 kB / 424.1 MB, free: 49.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.3193, allocations: 0.6553 MB / 424.8 MB, free: 49.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3193, allocations: 0 / 424.8 MB, free: 49.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.3201, allocations: 488.2 kB / 425.2 MB, free: 49.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3205, allocations: 27.25 kB / 425.3 MB, free: 49.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.322, allocations: 1.133 MB / 426.4 MB, free: 48.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.3222, allocations: 0.8162 MB / 427.2 MB, free: 47.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.3227, allocations: 92.75 kB / 427.3 MB, free: 47.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.3229, allocations: 63.56 kB / 427.4 MB, free: 47.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3229, allocations: 0 / 427.4 MB, free: 47.8 MB / 350.1 MB Notification: Performance of Templates: time 0.009523/0.3324, allocations: 7.009 MB / 434.4 MB, free: 47.24 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile (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)