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.001342/0.001342, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.0119/0.0119, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1601/0.1601, allocations: 3.874 MB / 295.3 MB, free: 3.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 8.188 kB / 357.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 51.18 MB / 408.4 MB, free: 16 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002625/0.1194, allocations: 1.746 MB / 410.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.1226, allocations: 1.663 MB / 411.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.1229, allocations: 4 kB / 411.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1232, allocations: 27.61 kB / 411.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008728/0.124, allocations: 211.4 kB / 412.1 MB, free: 12.35 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.0008953/0.1249, allocations: 323.3 kB / 412.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.1256, allocations: 0.5419 MB / 412.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1258, allocations: 107.4 kB / 413 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1261, allocations: 171.3 kB / 413.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.1265, allocations: 235 kB / 413.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.1266, allocations: 20 kB / 413.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/0.1273, allocations: 395.4 kB / 413.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1275, allocations: 95.56 kB / 413.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.1277, allocations: 192.7 kB / 414.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1288, allocations: 0.7092 MB / 414.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1288, allocations: 4 kB / 414.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1288, allocations: 3.938 kB / 414.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1288, allocations: 0 / 414.8 MB, free: 9.57 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.001286/0.1301, allocations: 0.6186 MB / 415.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1302, allocations: 12.03 kB / 415.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.1314, allocations: 168.2 kB / 415.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.1321, allocations: 371.1 kB / 416 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.1322, allocations: 33.03 kB / 416 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1323, allocations: 44.31 kB / 416.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.1335, allocations: 486.3 kB / 416.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1335, allocations: 192 / 416.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.1335, allocations: 15.92 kB / 416.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1336, allocations: 8 kB / 416.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.135, allocations: 0.5413 MB / 417.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.1371, allocations: 1.225 MB / 418.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1385, allocations: 0.5355 MB / 418.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.1392, allocations: 302 kB / 419.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.1393, allocations: 12.41 kB / 419.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1393, allocations: 39 kB / 419.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.1394, allocations: 0 / 419.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002378/0.1417, allocations: 0.8734 MB / 420.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1418, allocations: 63.84 kB / 420.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1421, allocations: 229 kB / 420.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.1421, allocations: 37.7 kB / 420.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1423, allocations: 160.9 kB / 420.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1424, allocations: 165.5 kB / 420.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1425, allocations: 57.62 kB / 420.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1427, allocations: 350.7 kB / 421.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.1434, allocations: 277 kB / 421.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.1441, allocations: 292.9 kB / 421.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1455, allocations: 0.5271 MB / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1455, allocations: 0 / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001693/0.1472, allocations: 0.7016 MB / 422.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1472, allocations: 4 kB / 422.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1472, allocations: 4 kB / 422.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1473, allocations: 7.938 kB / 422.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/0.1481, allocations: 159.7 kB / 423.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1481, allocations: 0 / 423.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.1485, allocations: 63.5 kB / 423.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.1486, allocations: 71.89 kB / 423.2 MB, free: 0.9492 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.0002906/0.1489, allocations: 173.5 kB / 423.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.149, allocations: 31.62 kB / 423.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2406/0.3897, allocations: 0.8469 MB / 424.3 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-05/0.3898, allocations: 9.875 kB / 424.3 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3898, allocations: 0 / 424.3 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.3898, allocations: 2.25 kB / 424.3 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3911, allocations: 0.6099 MB / 424.9 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.3911, allocations: 2.453 kB / 424.9 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009353/0.3921, allocations: 128.2 kB / 425 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.3921, allocations: 5.344 kB / 425 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.3923, allocations: 25 kB / 425 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.3923, allocations: 5.781 kB / 425 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3923, allocations: 0 / 425 MB, free: 46.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.3954, allocations: 1.237 MB / 426.3 MB, free: 46.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3955, allocations: 113.8 kB / 426.4 MB, free: 46.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.3956, allocations: 10.75 kB / 426.4 MB, free: 46.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.3961, allocations: 45.77 kB / 426.4 MB, free: 46.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.3963, allocations: 59.81 kB / 426.5 MB, free: 46.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.3964, allocations: 70.73 kB / 426.6 MB, free: 46.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3966, allocations: 159.6 kB / 426.7 MB, free: 46.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3966, allocations: 0 / 426.7 MB, free: 46.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000715/0.3974, allocations: 169.8 kB / 426.9 MB, free: 46.57 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.0008715/0.3982, allocations: 353.1 kB / 427.2 MB, free: 46.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3999, allocations: 0.6852 MB / 427.9 MB, free: 46.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3999, allocations: 0 / 427.9 MB, free: 46.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.4007, allocations: 0.4905 MB / 428.4 MB, free: 46.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4012, allocations: 35.59 kB / 428.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4032, allocations: 1.18 MB / 429.6 MB, free: 45.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4034, allocations: 0.8091 MB / 430.4 MB, free: 45.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.4039, allocations: 95.17 kB / 430.5 MB, free: 45.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.4041, allocations: 54.95 kB / 430.6 MB, free: 45.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4042, allocations: 0 / 430.6 MB, free: 45.08 MB / 350.1 MB Notification: Performance of Templates: time 0.01119/0.4153, allocations: 6.953 MB / 437.5 MB, free: 44.52 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: