Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02141/0.02141, allocations: 4.02 MB / 19.27 MB, free: 2.535 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008431/0.0008433, allocations: 180.5 kB / 20.92 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.7 MB / 248.1 MB, free: 5.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007258/0.0007259, allocations: 102.7 kB / 300.1 MB, free: 5.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000528/0.0005281, allocations: 8 kB / 362 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2315, allocations: 51.17 MB / 413.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001716/0.2332, allocations: 1.69 MB / 414.8 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2357, allocations: 3.29 MB / 418.1 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.2359, allocations: 4 kB / 418.1 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2361, allocations: 27.67 kB / 418.2 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.2367, allocations: 203.4 kB / 418.4 MB, free: 20.74 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0005944/0.2373, allocations: 335.3 kB / 418.7 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.2376, allocations: 0.5341 MB / 419.2 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2378, allocations: 111.2 kB / 419.3 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2379, allocations: 175.3 kB / 419.5 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.2381, allocations: 235 kB / 419.7 MB, free: 19.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.2382, allocations: 20 kB / 419.8 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.2387, allocations: 363.5 kB / 420.1 MB, free: 18.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.2388, allocations: 87.62 kB / 420.2 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2389, allocations: 196.6 kB / 420.4 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.2395, allocations: 0.7111 MB / 421.1 MB, free: 18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2396, allocations: 7.984 kB / 421.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2396, allocations: 0 / 421.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2396, allocations: 4 kB / 421.1 MB, free: 17.98 MB / 298.7 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.0009911/0.2406, allocations: 0.6224 MB / 421.7 MB, free: 17.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2406, allocations: 12.03 kB / 421.7 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.2417, allocations: 172.2 kB / 421.9 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.2423, allocations: 367.1 kB / 422.3 MB, free: 16.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.2423, allocations: 33.03 kB / 422.3 MB, free: 16.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/0.2424, allocations: 48.27 kB / 422.4 MB, free: 16.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.2433, allocations: 482.3 kB / 422.8 MB, free: 16.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2433, allocations: 4.125 kB / 422.8 MB, free: 16.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.2434, allocations: 15.94 kB / 422.8 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2434, allocations: 12 kB / 422.9 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.2446, allocations: 0.5451 MB / 423.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2462, allocations: 1.21 MB / 424.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2474, allocations: 0.5406 MB / 425.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.248, allocations: 298 kB / 425.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/0.2481, allocations: 12.42 kB / 425.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2481, allocations: 38.98 kB / 425.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.983e-06/0.2481, allocations: 0 / 425.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001957/0.2501, allocations: 0.8734 MB / 426.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2501, allocations: 59.84 kB / 426.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2503, allocations: 225 kB / 426.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.2503, allocations: 33.7 kB / 426.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.2504, allocations: 168.8 kB / 426.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.2505, allocations: 157.6 kB / 427 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.2505, allocations: 16 kB / 427 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.2506, allocations: 346.7 kB / 427.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.2512, allocations: 280.9 kB / 427.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.2518, allocations: 284.9 kB / 427.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2529, allocations: 0.535 MB / 428.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2529, allocations: 0 / 428.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001378/0.2543, allocations: 0.6938 MB / 429.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2543, allocations: 4.625 kB / 429.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2544, allocations: 7.922 kB / 429.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2544, allocations: 8 kB / 429.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.2551, allocations: 147.8 kB / 429.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2551, allocations: 7.984 kB / 429.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2555, allocations: 63.5 kB / 429.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2556, allocations: 75.73 kB / 429.4 MB, free: 9.418 MB / 298.7 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 (noise1.localSeed,noise2.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.actualGlobalSeed,globalSeed.seed) * 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.000164/0.2558, allocations: 161.7 kB / 429.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.2558, allocations: 27.62 kB / 429.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.2576, allocations: 0.8578 MB / 430.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/0.2577, allocations: 8 kB / 430.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2577, allocations: 4 kB / 430.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2577, allocations: 3.984 kB / 430.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.2584, allocations: 0.6184 MB / 431.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.2584, allocations: 7.984 kB / 431.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.2591, allocations: 119.8 kB / 431.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2591, allocations: 4 kB / 431.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.2592, allocations: 19.97 kB / 431.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2592, allocations: 4 kB / 431.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2592, allocations: 4 kB / 431.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.2614, allocations: 1.233 MB / 432.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2614, allocations: 116.5 kB / 432.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2615, allocations: 12 kB / 432.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.2619, allocations: 43.91 kB / 432.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.262, allocations: 56.47 kB / 432.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.2621, allocations: 67.89 kB / 432.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2622, allocations: 156.5 kB / 432.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2622, allocations: 0 / 432.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004999/0.2627, allocations: 179.8 kB / 433.1 MB, free: 5.637 MB / 298.7 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.0006142/0.2634, allocations: 396 kB / 433.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.2648, allocations: 0.6752 MB / 434.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2648, allocations: 0 / 434.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.2655, allocations: 493.8 kB / 434.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2659, allocations: 32.41 kB / 434.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2673, allocations: 1.18 MB / 435.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2675, allocations: 0.8085 MB / 436.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.268, allocations: 99.03 kB / 436.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.2682, allocations: 63.31 kB / 436.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2682, allocations: 0 / 436.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of Templates: time 0.01109/0.2793, allocations: 6.953 MB / 443.8 MB, free: 10.96 MB / 314.7 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)