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.0009098/0.0009097, allocations: 102.5 kB / 15.71 MB, free: 460 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.00105/0.00105, allocations: 176.1 kB / 16.58 MB, free: 6.082 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.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1816/0.1816, allocations: 3.873 MB / 295.6 MB, free: 4.012 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 4 kB / 357.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 51.17 MB / 408.4 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002324/0.1305, allocations: 1.681 MB / 410.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.1331, allocations: 1.551 MB / 411.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1333, allocations: 7.938 kB / 411.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1335, allocations: 31.66 kB / 411.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006443/0.1341, allocations: 183.4 kB / 411.9 MB, free: 12.93 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.0006797/0.1348, allocations: 295.4 kB / 412.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.1353, allocations: 499 kB / 412.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1355, allocations: 90.09 kB / 412.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1357, allocations: 167.4 kB / 412.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.136, allocations: 235.1 kB / 413.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.136, allocations: 16 kB / 413.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.1366, allocations: 363.5 kB / 413.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1368, allocations: 91.62 kB / 413.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.1369, allocations: 73.52 kB / 413.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.1375, allocations: 0.5577 MB / 414.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1375, allocations: 0 / 414.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1375, allocations: 0 / 414.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1375, allocations: 0 / 414.2 MB, free: 10.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.001149/0.1387, allocations: 0.634 MB / 414.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1387, allocations: 12.03 kB / 414.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1398, allocations: 159.3 kB / 415 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.1405, allocations: 366 kB / 415.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.1405, allocations: 36.66 kB / 415.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.1406, allocations: 39.91 kB / 415.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1417, allocations: 489.7 kB / 415.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1417, allocations: 0 / 415.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.1418, allocations: 16 kB / 416 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1418, allocations: 8 kB / 416 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1432, allocations: 0.5451 MB / 416.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.1453, allocations: 1.221 MB / 417.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.1467, allocations: 0.5277 MB / 418.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.1475, allocations: 298 kB / 418.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.296e-05/0.1476, allocations: 24.36 kB / 418.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1477, allocations: 35 kB / 418.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.1477, allocations: 7.875 kB / 418.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002319/0.15, allocations: 0.8773 MB / 419.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1501, allocations: 55.84 kB / 419.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1504, allocations: 225 kB / 419.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.1504, allocations: 37.69 kB / 419.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1506, allocations: 160.9 kB / 420 MB, free: 4.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1507, allocations: 169.5 kB / 420.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1508, allocations: 16 kB / 420.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.151, allocations: 342.8 kB / 420.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.1517, allocations: 277 kB / 420.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.1523, allocations: 280.9 kB / 421 MB, free: 3.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.1531, allocations: 278.1 kB / 421.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1531, allocations: 0 / 421.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001808/0.1549, allocations: 0.6977 MB / 422 MB, free: 2.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1549, allocations: 7.953 kB / 422 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.155, allocations: 0 / 422 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.155, allocations: 4 kB / 422 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.1558, allocations: 155.7 kB / 422.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1558, allocations: 4 kB / 422.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.1562, allocations: 63.5 kB / 422.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.1563, allocations: 65.45 kB / 422.3 MB, free: 2.285 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.1566, allocations: 169.7 kB / 422.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.1567, allocations: 31.61 kB / 422.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.1588, allocations: 0.85 MB / 423.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.186e-05/0.1589, allocations: 15.98 kB / 423.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1589, allocations: 0 / 423.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1589, allocations: 0 / 423.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/0.1598, allocations: 0.6338 MB / 424 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1598, allocations: 0 / 424 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.1605, allocations: 123.8 kB / 424.1 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.1605, allocations: 4 kB / 424.1 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.1607, allocations: 23.97 kB / 424.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1607, allocations: 0 / 424.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1607, allocations: 0 / 424.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2253/0.386, allocations: 1.214 MB / 425.3 MB, free: 46.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3862, allocations: 114.6 kB / 425.5 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.3863, allocations: 14.25 kB / 425.5 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3867, allocations: 41.39 kB / 425.5 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.3868, allocations: 59.88 kB / 425.6 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.387, allocations: 69.97 kB / 425.6 MB, free: 46.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3872, allocations: 160.6 kB / 425.8 MB, free: 46.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3872, allocations: 3.906 kB / 425.8 MB, free: 46.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007549/0.3879, allocations: 169.9 kB / 426 MB, free: 46.34 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 (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.000898/0.3888, allocations: 363.6 kB / 426.3 MB, free: 46.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.3905, allocations: 0.6696 MB / 427 MB, free: 46.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3905, allocations: 6.594 kB / 427 MB, free: 46.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.3914, allocations: 493 kB / 427.5 MB, free: 46.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3917, allocations: 27.62 kB / 427.5 MB, free: 46.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3935, allocations: 1.174 MB / 428.7 MB, free: 45.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3938, allocations: 0.8148 MB / 429.5 MB, free: 44.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.394, allocations: 65.7 kB / 429.6 MB, free: 44.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.394, allocations: 0 / 429.6 MB, free: 44.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01159/0.4056, allocations: 8.306 MB / 437.9 MB, free: 44.1 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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.SignalBasedCorrelationsCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelationsCalcHelperMain.o] Error 1