Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 100.5 kB / 15.71 MB, free: 452 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.001501/0.001501, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.56/1.56, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2215/0.2215, allocations: 3.884 MB / 295.6 MB, free: 4.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 8 kB / 357.3 MB, free: 3.621 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 51.17 MB / 408.4 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001827/0.1301, allocations: 1.237 MB / 409.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.132, allocations: 1.091 MB / 410.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.1321, allocations: 3.938 kB / 410.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1323, allocations: 23.8 kB / 410.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.1323, allocations: 19.81 kB / 410.8 MB, free: 14.01 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.0006728/0.133, allocations: 195.6 kB / 411 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1333, allocations: 215.5 kB / 411.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.1333, allocations: 9.562 kB / 411.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1335, allocations: 103.6 kB / 411.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1336, allocations: 71.67 kB / 411.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1337, allocations: 8 kB / 411.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.134, allocations: 151.8 kB / 411.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.134, allocations: 23.86 kB / 411.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.1341, allocations: 65.61 kB / 411.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1344, allocations: 195.6 kB / 411.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1344, allocations: 4 kB / 411.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1344, allocations: 0 / 411.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1344, allocations: 0 / 411.8 MB, free: 12.98 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002449/0.1369, allocations: 2.207 MB / 414 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1369, allocations: 12.03 kB / 414 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.1376, allocations: 107.6 kB / 414.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1379, allocations: 254.5 kB / 414.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1379, allocations: 4 kB / 414.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.138, allocations: 8 kB / 414.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1384, allocations: 256.6 kB / 414.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1384, allocations: 4 kB / 414.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1384, allocations: 4 kB / 414.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1385, allocations: 7.891 kB / 414.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.1388, allocations: 227.8 kB / 414.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1391, allocations: 250.3 kB / 415.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.1395, allocations: 325.2 kB / 415.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.1399, allocations: 301.7 kB / 415.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1399, allocations: 4 kB / 415.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.1405, allocations: 0.5115 MB / 416.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.1405, allocations: 0 / 416.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001162/0.1416, allocations: 0.7621 MB / 417 MB, free: 7.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.1417, allocations: 164.5 kB / 417.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.142, allocations: 211.1 kB / 417.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.142, allocations: 29.7 kB / 417.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1421, allocations: 112.6 kB / 417.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.1421, allocations: 47.38 kB / 417.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.1421, allocations: 8 kB / 417.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1423, allocations: 330.8 kB / 417.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.1425, allocations: 144.2 kB / 418.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1427, allocations: 136.4 kB / 418.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.143, allocations: 244.2 kB / 418.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1431, allocations: 0 / 418.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000623/0.1437, allocations: 475.2 kB / 418.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/0.1438, allocations: 91.38 kB / 419 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1438, allocations: 0 / 419 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1438, allocations: 4 kB / 419 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1439, allocations: 23.97 kB / 419 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.144, allocations: 3.953 kB / 419 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.1441, allocations: 19.91 kB / 419 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.1441, allocations: 36.59 kB / 419.1 MB, free: 5.371 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,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0002504/0.1444, allocations: 263.7 kB / 419.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1444, allocations: 27.72 kB / 419.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.1445, allocations: 17.39 kB / 419.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1445, allocations: 0 / 419.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.1445, allocations: 4 kB / 419.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1445, allocations: 3.953 kB / 419.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1448, allocations: 265.3 kB / 419.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1448, allocations: 192 / 419.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.1448, allocations: 11.98 kB / 419.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1448, allocations: 7.938 kB / 419.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.1449, allocations: 23.92 kB / 419.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1449, allocations: 0 / 419.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.1449, allocations: 3.984 kB / 419.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.1458, allocations: 0.6887 MB / 420.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.146, allocations: 144.6 kB / 420.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.146, allocations: 23.98 kB / 420.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1461, allocations: 12 kB / 420.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.1462, allocations: 19.97 kB / 420.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.1463, allocations: 43.88 kB / 420.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1464, allocations: 139.2 kB / 420.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1464, allocations: 4 kB / 420.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1468, allocations: 79.98 kB / 420.8 MB, free: 3.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.000535/0.1473, allocations: 260 kB / 421.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009295/0.1483, allocations: 0.7567 MB / 421.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1483, allocations: 4 kB / 421.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.1489, allocations: 0.647 MB / 422.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1492, allocations: 30.38 kB / 422.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1501, allocations: 0.5655 MB / 423.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1504, allocations: 0.7278 MB / 423.8 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1504, allocations: 23.61 kB / 423.8 MB, free: 404 kB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1504, allocations: 0 / 423.8 MB, free: 404 kB / 350.1 MB Notification: Performance of Templates: time 0.2308/0.3812, allocations: 3.602 MB / 427.4 MB, free: 46.57 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoiseCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoiseCalcHelperMain.o] Error 1