Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008106/0.0008106, allocations: 91.53 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.001233/0.001233, allocations: 179.4 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.547/1.547, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2029/0.2029, allocations: 3.893 MB / 296 MB, free: 3.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8 kB / 357.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 51.17 MB / 409.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001794/0.1245, allocations: 1.213 MB / 410.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1266, allocations: 1.044 MB / 411.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.1267, allocations: 0 / 411.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1269, allocations: 11.88 kB / 411.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1271, allocations: 15.92 kB / 411.3 MB, free: 13.65 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.0005394/0.1276, allocations: 143.7 kB / 411.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1278, allocations: 111.7 kB / 411.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1279, allocations: 19.98 kB / 411.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.1281, allocations: 39.78 kB / 411.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.1281, allocations: 43.77 kB / 411.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1282, allocations: 4 kB / 411.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.1285, allocations: 159.8 kB / 411.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1285, allocations: 23.84 kB / 411.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.1286, allocations: 57.5 kB / 411.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1289, allocations: 143.7 kB / 412.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1289, allocations: 3.938 kB / 412.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1289, allocations: 4 kB / 412.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1289, allocations: 0 / 412.1 MB, free: 12.9 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005168/0.1294, allocations: 405.6 kB / 412.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1295, allocations: 8.031 kB / 412.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.1299, allocations: 52.77 kB / 412.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1301, allocations: 216.6 kB / 412.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1302, allocations: 384 / 412.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1302, allocations: 20.11 kB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1304, allocations: 77.64 kB / 412.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1304, allocations: 0 / 412.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1304, allocations: 0 / 412.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1304, allocations: 7.938 kB / 412.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1306, allocations: 59.89 kB / 412.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.1312, allocations: 364.6 kB / 413.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1314, allocations: 78.55 kB / 413.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.1315, allocations: 36.84 kB / 413.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1315, allocations: 4.141 kB / 413.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1315, allocations: 38.64 kB / 413.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1315, allocations: 3.938 kB / 413.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003924/0.1319, allocations: 149.5 kB / 413.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.132, allocations: 55.41 kB / 413.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1322, allocations: 153 kB / 413.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1322, allocations: 25.7 kB / 413.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.1323, allocations: 96.12 kB / 413.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1323, allocations: 27.56 kB / 413.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1324, allocations: 17.72 kB / 413.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1325, allocations: 322.8 kB / 414.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.1326, allocations: 35.97 kB / 414.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.1327, allocations: 35.98 kB / 414.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1329, allocations: 84.7 kB / 414.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1329, allocations: 0 / 414.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.1331, allocations: 137.5 kB / 414.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1331, allocations: 8 kB / 414.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1332, allocations: 4 kB / 414.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1332, allocations: 0 / 414.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1333, allocations: 19.98 kB / 414.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1333, allocations: 0 / 414.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1334, allocations: 7.938 kB / 414.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.1334, allocations: 31.89 kB / 414.6 MB, free: 10.14 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: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000116/0.1336, allocations: 125.8 kB / 414.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1336, allocations: 11.81 kB / 414.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.1341, allocations: 218 kB / 415 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/0.1341, allocations: 7.938 kB / 415 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1341, allocations: 0 / 415 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.1341, allocations: 3.938 kB / 415 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1345, allocations: 217.6 kB / 415.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1345, allocations: 8 kB / 415.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.1346, allocations: 8 kB / 415.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1346, allocations: 4 kB / 415.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1346, allocations: 3.984 kB / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1346, allocations: 0 / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1346, allocations: 0 / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1349, allocations: 275 kB / 415.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.135, allocations: 108.9 kB / 415.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1351, allocations: 0 / 415.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1352, allocations: 8 kB / 415.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.1352, allocations: 15.86 kB / 415.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.1353, allocations: 23.95 kB / 415.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.1354, allocations: 117.7 kB / 415.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1354, allocations: 0 / 415.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1357, allocations: 48 kB / 415.8 MB, free: 8.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.0005716/0.1363, allocations: 243.8 kB / 416 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1366, allocations: 111.8 kB / 416.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1366, allocations: 0 / 416.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1367, allocations: 115.5 kB / 416.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.137, allocations: 9.562 kB / 416.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.1375, allocations: 326.7 kB / 416.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1379, allocations: 0.7082 MB / 417.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.1379, allocations: 19.42 kB / 417.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1379, allocations: 4 kB / 417.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004779/0.1427, allocations: 2.489 MB / 419.8 MB, free: 4.824 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoiseCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.o] Error 1