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.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1489/0.1489, allocations: 3.882 MB / 294.3 MB, free: 3.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 355.5 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 50.18 MB / 405.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00299/0.1049, allocations: 2.032 MB / 407.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.1075, allocations: 1.659 MB / 409.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1076, allocations: 0 / 409.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1078, allocations: 47.42 kB / 409.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006224/0.1084, allocations: 251 kB / 409.6 MB, free: 13.37 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.1092, allocations: 387 kB / 410 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.1097, allocations: 0.5927 MB / 410.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1099, allocations: 115.3 kB / 410.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1101, allocations: 231.2 kB / 410.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1104, allocations: 275 kB / 411.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.1105, allocations: 64 kB / 411.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.1111, allocations: 419.4 kB / 411.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1113, allocations: 135.6 kB / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1114, allocations: 218.9 kB / 412 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.1122, allocations: 0.7484 MB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1122, allocations: 0 / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1122, allocations: 0 / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1123, allocations: 4 kB / 412.8 MB, free: 10.21 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.001189/0.1134, allocations: 0.7004 MB / 413.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1135, allocations: 8.031 kB / 413.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1147, allocations: 168.2 kB / 413.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.1154, allocations: 367.1 kB / 414 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.1155, allocations: 45.02 kB / 414.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.1156, allocations: 36.38 kB / 414.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1167, allocations: 474.3 kB / 414.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1167, allocations: 192 / 414.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.1167, allocations: 15.94 kB / 414.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1168, allocations: 8 kB / 414.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.1182, allocations: 0.5217 MB / 415.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1202, allocations: 1.205 MB / 416.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.1218, allocations: 0.5076 MB / 416.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.1224, allocations: 281.4 kB / 417.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.1225, allocations: 16.34 kB / 417.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1225, allocations: 38.94 kB / 417.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/0.1226, allocations: 0 / 417.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002318/0.1249, allocations: 0.8219 MB / 418 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1249, allocations: 59.41 kB / 418 MB, free: 4.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1252, allocations: 236.9 kB / 418.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.1253, allocations: 33.7 kB / 418.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.1254, allocations: 160.9 kB / 418.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1255, allocations: 157.6 kB / 418.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.1257, allocations: 110.2 kB / 418.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1258, allocations: 350.7 kB / 419 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.1266, allocations: 264.9 kB / 419.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.1273, allocations: 272.9 kB / 419.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.1287, allocations: 0.5017 MB / 420.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1287, allocations: 0 / 420.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001792/0.1305, allocations: 0.6704 MB / 420.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1306, allocations: 4 kB / 420.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1306, allocations: 0 / 420.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1306, allocations: 7.938 kB / 420.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.1314, allocations: 151.7 kB / 420.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1315, allocations: 0 / 420.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.1319, allocations: 55.5 kB / 421 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.132, allocations: 71.83 kB / 421 MB, free: 1.723 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.0002554/0.1322, allocations: 168.2 kB / 421.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1323, allocations: 31.62 kB / 421.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.1342, allocations: 0.6674 MB / 421.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.1342, allocations: 8 kB / 421.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1343, allocations: 7.922 kB / 421.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1343, allocations: 4 kB / 421.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.135, allocations: 0.5791 MB / 422.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.135, allocations: 0 / 422.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.1358, allocations: 123.8 kB / 422.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1358, allocations: 7.922 kB / 422.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.1359, allocations: 19.98 kB / 422.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1359, allocations: 0 / 422.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1359, allocations: 4 kB / 422.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1748/0.3107, allocations: 1.034 MB / 423.7 MB, free: 49.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.3109, allocations: 108.2 kB / 423.8 MB, free: 49.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.311, allocations: 13.3 kB / 423.8 MB, free: 49.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3114, allocations: 28.88 kB / 423.8 MB, free: 49.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.3115, allocations: 66.19 kB / 423.9 MB, free: 49.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.3116, allocations: 64.77 kB / 423.9 MB, free: 49.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3117, allocations: 158.5 kB / 424.1 MB, free: 49.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3117, allocations: 0 / 424.1 MB, free: 49.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.3123, allocations: 166.8 kB / 424.3 MB, free: 49.23 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: 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006545/0.313, allocations: 331.6 kB / 424.6 MB, free: 49.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3147, allocations: 0.6448 MB / 425.2 MB, free: 49.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3147, allocations: 0 / 425.2 MB, free: 49.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.3154, allocations: 330.4 kB / 425.6 MB, free: 49.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.3158, allocations: 33.14 kB / 425.6 MB, free: 49.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3173, allocations: 0.8897 MB / 426.5 MB, free: 48.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3175, allocations: 0.8002 MB / 427.3 MB, free: 47.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.3179, allocations: 97.05 kB / 427.4 MB, free: 47.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3181, allocations: 60.7 kB / 427.4 MB, free: 47.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3182, allocations: 0 / 427.4 MB, free: 47.94 MB / 350.1 MB Notification: Performance of Templates: time 0.01106/0.3292, allocations: 7.133 MB / 434.6 MB, free: 47.39 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)