Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008555, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009848/0.0009848, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.551/1.551, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1889/0.1889, allocations: 3.884 MB / 296 MB, free: 3.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004293, allocations: 8 kB / 357.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 51.16 MB / 409.1 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002268/0.1349, allocations: 1.715 MB / 410.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1378, allocations: 1.527 MB / 412.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1379, allocations: 3.938 kB / 412.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.1381, allocations: 35.66 kB / 412.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.1388, allocations: 211.4 kB / 412.5 MB, free: 12.57 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.000678/0.1395, allocations: 311.4 kB / 412.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.14, allocations: 0.5576 MB / 413.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1403, allocations: 86.03 kB / 413.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1405, allocations: 207.2 kB / 413.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1408, allocations: 235 kB / 413.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.1409, allocations: 23.94 kB / 413.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.1414, allocations: 327.5 kB / 414.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.891e-05/0.1415, allocations: 75.66 kB / 414.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1418, allocations: 224.6 kB / 414.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.1423, allocations: 0.5226 MB / 415.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1424, allocations: 0 / 415.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1424, allocations: 0 / 415.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1424, allocations: 0 / 415.1 MB, free: 10.02 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002985/0.1454, allocations: 2.369 MB / 417.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1454, allocations: 8.031 kB / 417.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1467, allocations: 180.2 kB / 417.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.1474, allocations: 367.9 kB / 418 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.1475, allocations: 32.94 kB / 418 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.1476, allocations: 44.28 kB / 418.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.1489, allocations: 0.5836 MB / 418.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1489, allocations: 4.125 kB / 418.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.1489, allocations: 15.94 kB / 418.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.149, allocations: 12 kB / 418.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.1505, allocations: 0.6698 MB / 419.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.1526, allocations: 1.143 MB / 420.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1542, allocations: 0.7183 MB / 421.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/0.1551, allocations: 0.5291 MB / 421.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.1552, allocations: 8.312 kB / 421.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.1564, allocations: 0.7715 MB / 422.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.707e-06/0.1564, allocations: 4 kB / 422.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.003054/0.1595, allocations: 1.439 MB / 424 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/0.1596, allocations: 130.8 kB / 424.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1599, allocations: 254.5 kB / 424.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.16, allocations: 37.7 kB / 424.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1601, allocations: 153 kB / 424.5 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.1603, allocations: 177.5 kB / 424.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1604, allocations: 69.62 kB / 424.8 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2584/0.4189, allocations: 346.8 kB / 425.1 MB, free: 46.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.42, allocations: 367.5 kB / 425.5 MB, free: 46.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.4209, allocations: 378 kB / 425.8 MB, free: 46.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.4225, allocations: 0.8654 MB / 426.7 MB, free: 46.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4225, allocations: 0.75 kB / 426.7 MB, free: 46.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001768/0.4243, allocations: 0.9653 MB / 427.7 MB, free: 46.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.4244, allocations: 94.38 kB / 427.8 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.4244, allocations: 3.375 kB / 427.8 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4244, allocations: 0 / 427.8 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.4252, allocations: 142.4 kB / 427.9 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4252, allocations: 7.094 kB / 427.9 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4256, allocations: 83.84 kB / 428 MB, free: 46.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4257, allocations: 52.81 kB / 428 MB, free: 46.63 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: 26 (globalSeed.seed,noise2.actualGlobalSeed,noise2.localSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise1.localSeed,noise2.r,noise2.bufferStartTime,noise2.buffer[2],noise2.buffer[1],noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],noise1.r,noise1.bufferStartTime,noise1.buffer[2],noise1.buffer[1],noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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.0003182/0.426, allocations: 288.9 kB / 428.3 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.4261, allocations: 41.97 kB / 428.4 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4282, allocations: 1.175 MB / 429.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4282, allocations: 5.219 kB / 429.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4282, allocations: 4.438 kB / 429.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4282, allocations: 0 / 429.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.4289, allocations: 0.6065 MB / 430.2 MB, free: 46.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4289, allocations: 0 / 430.2 MB, free: 46.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.4296, allocations: 127.2 kB / 430.3 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4296, allocations: 3.25 kB / 430.3 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.4297, allocations: 26.7 kB / 430.3 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4297, allocations: 0 / 430.3 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4297, allocations: 7.094 kB / 430.3 MB, free: 46.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.4327, allocations: 1.721 MB / 432 MB, free: 45.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.4327, allocations: 118 kB / 432.1 MB, free: 45.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4328, allocations: 29.34 kB / 432.2 MB, free: 45.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.4332, allocations: 54.86 kB / 432.2 MB, free: 45.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.4334, allocations: 63.94 kB / 432.3 MB, free: 45.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.4335, allocations: 64.31 kB / 432.4 MB, free: 45.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.4337, allocations: 169.5 kB / 432.5 MB, free: 45.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4337, allocations: 0 / 432.5 MB, free: 45.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005512/0.4342, allocations: 172.1 kB / 432.7 MB, free: 45.79 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: 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.0006437/0.4349, allocations: 320.6 kB / 433 MB, free: 45.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.4369, allocations: 1.269 MB / 434.3 MB, free: 45.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4369, allocations: 0 / 434.3 MB, free: 45.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.438, allocations: 0.921 MB / 435.2 MB, free: 44.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4383, allocations: 38.94 kB / 435.2 MB, free: 44.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4401, allocations: 1.303 MB / 436.5 MB, free: 44.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4405, allocations: 0.8088 MB / 437.3 MB, free: 43.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.4407, allocations: 48.19 kB / 437.4 MB, free: 43.36 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4407, allocations: 0 / 437.4 MB, free: 43.36 MB / 350.1 MB Notification: Performance of Templates: time 0.01036/0.4511, allocations: 8.191 MB / 445.6 MB, free: 42.53 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelationsCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelationsCalcHelperMain.o] Error 1