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.001558/0.001558, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001907/0.001907, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1535/0.1535, allocations: 3.883 MB / 294 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 355 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 50.18 MB / 405.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003085/0.105, allocations: 2.116 MB / 407.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1077, allocations: 1.655 MB / 408.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1078, allocations: 7.938 kB / 408.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.108, allocations: 23.72 kB / 408.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.1087, allocations: 227.4 kB / 409.2 MB, free: 13.72 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.0008418/0.1095, allocations: 339.4 kB / 409.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.1101, allocations: 0.5927 MB / 410.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.1103, allocations: 113.8 kB / 410.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1105, allocations: 227.2 kB / 410.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1108, allocations: 275 kB / 410.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.1109, allocations: 64 kB / 410.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.1114, allocations: 431.4 kB / 411.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1116, allocations: 139.6 kB / 411.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1118, allocations: 222.9 kB / 411.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.1125, allocations: 0.7407 MB / 412.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1125, allocations: 0 / 412.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1125, allocations: 0 / 412.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1125, allocations: 3.938 kB / 412.3 MB, free: 10.61 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.00124/0.1138, allocations: 0.7159 MB / 413 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1138, allocations: 15.89 kB / 413 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.1151, allocations: 160.3 kB / 413.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.1158, allocations: 371.1 kB / 413.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.1159, allocations: 33.03 kB / 413.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.116, allocations: 36.38 kB / 413.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1171, allocations: 474.3 kB / 414.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1171, allocations: 4.188 kB / 414.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.1172, allocations: 19.94 kB / 414.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1172, allocations: 11.94 kB / 414.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1185, allocations: 0.5256 MB / 414.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1205, allocations: 1.198 MB / 415.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.1218, allocations: 0.5075 MB / 416.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.1225, allocations: 285.4 kB / 416.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.1226, allocations: 16.34 kB / 416.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1226, allocations: 38.94 kB / 416.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.803e-06/0.1226, allocations: 0 / 416.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002233/0.1249, allocations: 0.8258 MB / 417.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1249, allocations: 59.41 kB / 417.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1252, allocations: 228.9 kB / 417.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.1252, allocations: 37.7 kB / 417.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.1253, allocations: 160.9 kB / 418 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1254, allocations: 157.7 kB / 418.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.1257, allocations: 114.2 kB / 418.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1258, allocations: 346.8 kB / 418.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.1265, allocations: 269 kB / 418.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.1271, allocations: 264.9 kB / 419.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.1285, allocations: 0.5057 MB / 419.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1285, allocations: 4 kB / 419.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001607/0.1301, allocations: 0.6625 MB / 420.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1301, allocations: 7.984 kB / 420.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1301, allocations: 0 / 420.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1301, allocations: 4 kB / 420.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.131, allocations: 151.7 kB / 420.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.131, allocations: 0 / 420.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.1314, allocations: 59.5 kB / 420.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1315, allocations: 71.77 kB / 420.5 MB, free: 2.109 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 (64): * Single equations (assignments): 64 * 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.0002215/0.1317, allocations: 169.7 kB / 420.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1318, allocations: 27.62 kB / 420.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.1338, allocations: 0.8263 MB / 421.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/0.1339, allocations: 8 kB / 421.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1339, allocations: 0 / 421.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.1339, allocations: 3.984 kB / 421.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.1347, allocations: 0.6183 MB / 422.2 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.1347, allocations: 4 kB / 422.2 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.1355, allocations: 119.8 kB / 422.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1355, allocations: 0 / 422.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.1356, allocations: 31.89 kB / 422.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.1356, allocations: 0 / 422.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1356, allocations: 4 kB / 422.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1924/0.328, allocations: 1.161 MB / 423.5 MB, free: 49.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.3281, allocations: 117.2 kB / 423.6 MB, free: 49.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3281, allocations: 13.08 kB / 423.6 MB, free: 49.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.3285, allocations: 28.86 kB / 423.7 MB, free: 49.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3287, allocations: 59.84 kB / 423.7 MB, free: 49.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3288, allocations: 69.11 kB / 423.8 MB, free: 49.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.329, allocations: 168.5 kB / 424 MB, free: 49.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.329, allocations: 0 / 424 MB, free: 49.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006328/0.3296, allocations: 166.9 kB / 424.1 MB, free: 49.45 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 (56): * Single equations (assignments): 46 * 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.0006506/0.3303, allocations: 350.6 kB / 424.5 MB, free: 49.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.3321, allocations: 0.7243 MB / 425.2 MB, free: 49.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3321, allocations: 0 / 425.2 MB, free: 49.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007948/0.3329, allocations: 489.1 kB / 425.7 MB, free: 49.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3333, allocations: 26.81 kB / 425.7 MB, free: 49.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.335, allocations: 1.128 MB / 426.8 MB, free: 48.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3352, allocations: 0.8157 MB / 427.6 MB, free: 47.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004616/0.3357, allocations: 92.28 kB / 427.7 MB, free: 47.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3359, allocations: 57.48 kB / 427.8 MB, free: 47.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3359, allocations: 0 / 427.8 MB, free: 47.84 MB / 350.1 MB Notification: Performance of Templates: time 0.01141/0.3473, allocations: 7.122 MB / 434.9 MB, free: 47.29 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)