Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02309/0.02309, 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.000939/0.0009392, 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.288/1.288, allocations: 225.7 MB / 248.1 MB, free: 5.473 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.0008251/0.0008253, allocations: 101.3 kB / 300.1 MB, free: 5.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8 kB / 362 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 51.18 MB / 413.1 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.001519/0.2235, allocations: 1.655 MB / 414.8 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2257, allocations: 2.871 MB / 417.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2259, allocations: 4 kB / 417.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.226, allocations: 35.59 kB / 417.7 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.2266, allocations: 211.4 kB / 417.9 MB, free: 21.27 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.0005141/0.2271, allocations: 298 kB / 418.2 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.2275, allocations: 0.5692 MB / 418.8 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2276, allocations: 86.02 kB / 418.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2278, allocations: 207.2 kB / 419.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.228, allocations: 235 kB / 419.3 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.2281, allocations: 20 kB / 419.3 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.2285, allocations: 307.5 kB / 419.6 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.2286, allocations: 91.58 kB / 419.7 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2287, allocations: 212.7 kB / 419.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2292, allocations: 0.672 MB / 420.6 MB, free: 18.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2292, allocations: 0 / 420.6 MB, free: 18.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2292, allocations: 0 / 420.6 MB, free: 18.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2293, allocations: 0 / 420.6 MB, free: 18.59 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002056/0.2313, allocations: 2.373 MB / 423 MB, free: 16.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2314, allocations: 12.03 kB / 423 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2325, allocations: 164.3 kB / 423.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.233, allocations: 371.9 kB / 423.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.2331, allocations: 36.88 kB / 423.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.2332, allocations: 44.28 kB / 423.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2342, allocations: 0.5836 MB / 424.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2343, allocations: 192 / 424.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.2343, allocations: 19.94 kB / 424.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2343, allocations: 8 kB / 424.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2356, allocations: 0.6659 MB / 424.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2372, allocations: 1.151 MB / 426 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2385, allocations: 0.7145 MB / 426.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.2393, allocations: 0.5291 MB / 427.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.2393, allocations: 16.3 kB / 427.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009222/0.2403, allocations: 0.7676 MB / 428 MB, free: 10.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.855e-06/0.2403, allocations: 3.938 kB / 428 MB, free: 10.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.002413/0.2427, allocations: 1.435 MB / 429.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.2428, allocations: 138.8 kB / 429.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.243, allocations: 254.5 kB / 429.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.243, allocations: 37.7 kB / 429.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.2431, allocations: 149.1 kB / 430 MB, free: 8.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.2432, allocations: 177.5 kB / 430.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.2432, allocations: 12 kB / 430.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.2433, allocations: 346.8 kB / 430.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.244, allocations: 361 kB / 430.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.2447, allocations: 373.3 kB / 431.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.2461, allocations: 0.8743 MB / 432.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2461, allocations: 0 / 432.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001634/0.2477, allocations: 0.9564 MB / 433.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.2478, allocations: 95.36 kB / 433.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2478, allocations: 0 / 433.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2479, allocations: 3.938 kB / 433.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.2486, allocations: 147.8 kB / 433.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2486, allocations: 4 kB / 433.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.249, allocations: 79.48 kB / 433.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.2491, allocations: 51.94 kB / 433.5 MB, free: 5.336 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: 26 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r,noise1.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * 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.0003221/0.2494, allocations: 295.3 kB / 433.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.2495, allocations: 43.53 kB / 433.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.2515, allocations: 1.166 MB / 435 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2515, allocations: 8 kB / 435 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2515, allocations: 4 kB / 435 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2515, allocations: 0 / 435 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.252, allocations: 0.6066 MB / 435.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.252, allocations: 3.938 kB / 435.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.2527, allocations: 115.8 kB / 435.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2527, allocations: 7.984 kB / 435.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.2528, allocations: 23.98 kB / 435.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2528, allocations: 4 kB / 435.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2528, allocations: 0 / 435.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.2555, allocations: 1.728 MB / 437.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.2555, allocations: 116.5 kB / 437.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.2557, allocations: 32.17 kB / 437.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.256, allocations: 47.95 kB / 437.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.2562, allocations: 63.84 kB / 437.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/0.2563, allocations: 59.92 kB / 437.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2565, allocations: 170 kB / 437.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2565, allocations: 0 / 437.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005142/0.257, allocations: 171.8 kB / 438.1 MB, free: 0.543 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: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r) * Number of discrete states: 20 (noise2.buffer[2],noise2.buffer[1],noise2.r,noise2.bufferStartTime,noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],$whenCondition2,$whenCondition1,noise1.buffer[2],noise1.buffer[1],noise1.r,noise1.bufferStartTime,noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0006693/0.2577, allocations: 350.8 kB / 438.5 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.2598, allocations: 1.271 MB / 439.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2598, allocations: 0 / 439.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.2612, allocations: 0.9169 MB / 440.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.2616, allocations: 60.28 kB / 440.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2637, allocations: 1.265 MB / 442 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2642, allocations: 0.8124 MB / 442.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.2646, allocations: 62.97 kB / 442.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.2648, allocations: 47.39 kB / 442.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2648, allocations: 0 / 442.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Templates: time 0.01283/0.2776, allocations: 7.28 MB / 450.2 MB, free: 4.453 MB / 314.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1)