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: "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.004555/0.004555, allocations: 171 kB / 16.27 MB, free: 6.66 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1372/0.1372, allocations: 3.887 MB / 295.3 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 8 kB / 357.3 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09074, allocations: 51.17 MB / 408.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001917/0.09269, allocations: 1.75 MB / 410.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.09522, allocations: 1.663 MB / 411.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.09533, allocations: 4 kB / 411.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.09549, allocations: 35.66 kB / 412 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.09606, allocations: 199.4 kB / 412.2 MB, free: 12.23 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.000658/0.09673, allocations: 331.3 kB / 412.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.09723, allocations: 0.5419 MB / 413 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.09744, allocations: 107.4 kB / 413.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.09763, allocations: 175.3 kB / 413.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.09788, allocations: 227 kB / 413.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.09794, allocations: 23.94 kB / 413.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.0985, allocations: 383.4 kB / 413.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.09862, allocations: 99.56 kB / 414 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.09879, allocations: 196.6 kB / 414.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.09951, allocations: 0.7131 MB / 414.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09953, allocations: 0 / 414.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09953, allocations: 3.938 kB / 414.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.09954, allocations: 0 / 414.9 MB, free: 9.449 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.001059/0.1006, allocations: 0.6225 MB / 415.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1007, allocations: 12.03 kB / 415.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.1007, allocations: 70.72 kB / 415.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1019, allocations: 154.6 kB / 415.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.1025, allocations: 379.1 kB / 416.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.1026, allocations: 33.03 kB / 416.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.1027, allocations: 44.28 kB / 416.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1037, allocations: 490.3 kB / 416.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1038, allocations: 7.875 kB / 416.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.1038, allocations: 12 kB / 416.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1038, allocations: 8 kB / 416.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1052, allocations: 0.5452 MB / 417.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.1072, allocations: 1.214 MB / 418.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.1086, allocations: 0.5433 MB / 419 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.1093, allocations: 298 kB / 419.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.1094, allocations: 12.42 kB / 419.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1094, allocations: 39 kB / 419.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.1094, allocations: 0 / 419.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002299/0.1117, allocations: 0.8812 MB / 420.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1118, allocations: 63.83 kB / 420.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.112, allocations: 225 kB / 420.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.112, allocations: 33.7 kB / 420.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.1121, allocations: 160.9 kB / 420.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1123, allocations: 169.5 kB / 420.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1124, allocations: 57.69 kB / 420.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1125, allocations: 346.7 kB / 421.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.1133, allocations: 277 kB / 421.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.114, allocations: 284.9 kB / 421.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1154, allocations: 0.5349 MB / 422.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1154, allocations: 0 / 422.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001729/0.1171, allocations: 0.7055 MB / 423.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1172, allocations: 4 kB / 423.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1172, allocations: 4 kB / 423.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1172, allocations: 4 kB / 423.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.118, allocations: 155.7 kB / 423.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.118, allocations: 0 / 423.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1184, allocations: 67.5 kB / 423.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.1185, allocations: 75.77 kB / 423.4 MB, free: 0.7461 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.0002076/0.1187, allocations: 165.6 kB / 423.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.1188, allocations: 31.62 kB / 423.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1746/0.2934, allocations: 0.8506 MB / 424.4 MB, free: 47.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.054e-05/0.2935, allocations: 9.75 kB / 424.4 MB, free: 47.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2935, allocations: 3.344 kB / 424.4 MB, free: 47.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.2935, allocations: 5.219 kB / 424.4 MB, free: 47.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.2945, allocations: 0.6155 MB / 425.1 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.2945, allocations: 2.875 kB / 425.1 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.2953, allocations: 129.4 kB / 425.2 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2953, allocations: 2.25 kB / 425.2 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.2954, allocations: 26.45 kB / 425.2 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2954, allocations: 3.219 kB / 425.2 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2954, allocations: 0 / 425.2 MB, free: 46.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.2977, allocations: 1.223 MB / 426.4 MB, free: 46.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2978, allocations: 118.9 kB / 426.6 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.2979, allocations: 10.47 kB / 426.6 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2982, allocations: 36.69 kB / 426.6 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.2984, allocations: 67.05 kB / 426.7 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.2985, allocations: 66.75 kB / 426.7 MB, free: 46.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.2987, allocations: 166.7 kB / 426.9 MB, free: 46.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2987, allocations: 0 / 426.9 MB, free: 46.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005817/0.2992, allocations: 172.5 kB / 427.1 MB, free: 46.54 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.003101/0.3024, allocations: 2.015 MB / 429.1 MB, free: 45.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3039, allocations: 0.6806 MB / 429.8 MB, free: 45.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3039, allocations: 2.906 kB / 429.8 MB, free: 45.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.3048, allocations: 496.1 kB / 430.2 MB, free: 45.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3052, allocations: 31.34 kB / 430.3 MB, free: 45.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.3115, allocations: 4.469 MB / 434.7 MB, free: 43.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3117, allocations: 0.8111 MB / 435.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.3122, allocations: 92 kB / 435.6 MB, free: 42.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.3125, allocations: 158.8 kB / 435.8 MB, free: 42.58 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3125, allocations: 4 kB / 435.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.3318, allocations: 10.42 MB / 446.2 MB, free: 41.74 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.332, allocations: 271.3 kB / 446.5 MB, free: 41.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.422, allocations: 0 / 446.5 MB, free: 41.39 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1)