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.001041/0.001041, allocations: 102.4 kB / 15.71 MB, free: 448 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.001482/0.001482, allocations: 176.3 kB / 16.58 MB, free: 6.879 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.518/1.518, allocations: 223.2 MB / 240.6 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2287/0.2287, allocations: 3.88 MB / 295.6 MB, free: 4.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 4 kB / 357.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 51.18 MB / 408.4 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002336/0.1289, allocations: 1.65 MB / 410.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1323, allocations: 1.414 MB / 411.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.1327, allocations: 4 kB / 411.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.133, allocations: 43.59 kB / 411.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009122/0.1339, allocations: 175.4 kB / 411.7 MB, free: 13.02 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.000895/0.1348, allocations: 267.4 kB / 412 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.1356, allocations: 0.5263 MB / 412.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1358, allocations: 61.47 kB / 412.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.1362, allocations: 215.2 kB / 412.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.1366, allocations: 227.1 kB / 413 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.1367, allocations: 27.94 kB / 413 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.1374, allocations: 311.4 kB / 413.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1375, allocations: 79.7 kB / 413.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1376, allocations: 93.45 kB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.1383, allocations: 0.5226 MB / 414 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1384, allocations: 0 / 414 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1384, allocations: 4 kB / 414 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1384, allocations: 0 / 414 MB, free: 10.7 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.003523/0.1419, allocations: 2.369 MB / 416.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.142, allocations: 8.031 kB / 416.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.1432, allocations: 167.3 kB / 416.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.144, allocations: 366.8 kB / 416.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.1441, allocations: 32.56 kB / 417 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.1442, allocations: 43.91 kB / 417 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1454, allocations: 0.583 MB / 417.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1455, allocations: 4 kB / 417.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.1455, allocations: 12 kB / 417.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1455, allocations: 4 kB / 417.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.147, allocations: 0.6658 MB / 418.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.149, allocations: 1.166 MB / 419.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.1507, allocations: 0.7107 MB / 420.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009291/0.1516, allocations: 0.5174 MB / 420.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.1517, allocations: 16.31 kB / 420.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.1529, allocations: 0.7559 MB / 421.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.485e-06/0.1529, allocations: 0 / 421.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.003015/0.1559, allocations: 1.427 MB / 422.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.156, allocations: 130.8 kB / 423 MB, free: 1.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1563, allocations: 254.5 kB / 423.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/0.1564, allocations: 37.7 kB / 423.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1565, allocations: 157 kB / 423.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.1567, allocations: 173.5 kB / 423.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1568, allocations: 12 kB / 423.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.157, allocations: 354.8 kB / 423.9 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.1578, allocations: 361 kB / 424.3 MB, free: 116 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2641/0.4219, allocations: 369.7 kB / 424.7 MB, free: 46.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.4239, allocations: 444.7 kB / 425.1 MB, free: 46.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4239, allocations: 0 / 425.1 MB, free: 46.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003623/0.4276, allocations: 0.9642 MB / 426.1 MB, free: 46.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4277, allocations: 95.39 kB / 426.2 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4277, allocations: 1.172 kB / 426.2 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4277, allocations: 6.344 kB / 426.2 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4289, allocations: 136.6 kB / 426.3 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.429, allocations: 5.141 kB / 426.3 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.4297, allocations: 83.7 kB / 426.4 MB, free: 46.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.4298, allocations: 55.62 kB / 426.4 MB, free: 46.66 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004946/0.4304, allocations: 288.7 kB / 426.7 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4305, allocations: 45.56 kB / 426.8 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.4339, allocations: 1.16 MB / 427.9 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4339, allocations: 6.312 kB / 427.9 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4339, allocations: 0 / 427.9 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.434, allocations: 4.75 kB / 427.9 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.4349, allocations: 0.6004 MB / 428.5 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4349, allocations: 0.6562 kB / 428.5 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.4362, allocations: 114.7 kB / 428.6 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.4362, allocations: 2.938 kB / 428.7 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/0.4363, allocations: 30.14 kB / 428.7 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.4363, allocations: 3.406 kB / 428.7 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4364, allocations: 3.188 kB / 428.7 MB, free: 46.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.4416, allocations: 1.712 MB / 430.4 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4418, allocations: 113.3 kB / 430.5 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.442, allocations: 33.02 kB / 430.5 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.4426, allocations: 48.53 kB / 430.6 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/0.4429, allocations: 67.42 kB / 430.7 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.4431, allocations: 53.19 kB / 430.7 MB, free: 45.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.4433, allocations: 172.1 kB / 430.9 MB, free: 45.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4433, allocations: 0 / 430.9 MB, free: 45.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009466/0.4443, allocations: 170.7 kB / 431 MB, free: 45.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000994/0.4453, allocations: 329 kB / 431.4 MB, free: 45.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.4491, allocations: 1.266 MB / 432.6 MB, free: 45.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4491, allocations: 4 kB / 432.6 MB, free: 45.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.4509, allocations: 0.9078 MB / 433.5 MB, free: 45.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.4514, allocations: 46.14 kB / 433.6 MB, free: 45.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.454, allocations: 1.256 MB / 434.8 MB, free: 44.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4543, allocations: 0.8042 MB / 435.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.4546, allocations: 48.08 kB / 435.7 MB, free: 43.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4547, allocations: 0 / 435.7 MB, free: 43.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01448/0.4691, allocations: 8.205 MB / 443.9 MB, free: 42.91 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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