Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009802/0.0009804, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 196.6 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002461, allocations: 11.98 kB / 307.3 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002787/0.1431, allocations: 1.259 MB / 360.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1442, allocations: 0.5146 MB / 360.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1444, allocations: 0 / 360.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.1444, allocations: 3.938 kB / 360.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1446, allocations: 15.92 kB / 360.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.145, allocations: 35.89 kB / 360.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1452, allocations: 47.78 kB / 360.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1453, allocations: 16.17 kB / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1454, allocations: 23.92 kB / 360.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.1455, allocations: 27.84 kB / 360.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1456, allocations: 4 kB / 360.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.1456, allocations: 0 / 360.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1457, allocations: 15.98 kB / 360.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.1457, allocations: 29.64 kB / 360.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1459, allocations: 39.92 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1459, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1459, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1459, allocations: 4 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006677/0.1466, allocations: 382.7 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1466, allocations: 8.031 kB / 361.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1468, allocations: 19.89 kB / 361.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1472, allocations: 186.9 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1472, allocations: 7.938 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1472, allocations: 4 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.1476, allocations: 101 kB / 361.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1476, allocations: 0 / 361.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1476, allocations: 4 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1476, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.1477, allocations: 23.92 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1481, allocations: 265.8 kB / 361.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1483, allocations: 49.14 kB / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.1483, allocations: 21.78 kB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1484, allocations: 0 / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.1484, allocations: 42.55 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1484, allocations: 0 / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.1488, allocations: 73.69 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.1489, allocations: 85.12 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1491, allocations: 133.8 kB / 362.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1491, allocations: 29.7 kB / 362.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.1492, allocations: 96.06 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1493, allocations: 7.891 kB / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1493, allocations: 0 / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1495, allocations: 322.8 kB / 362.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.1495, allocations: 11.98 kB / 362.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.1496, allocations: 21.72 kB / 362.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.1497, allocations: 15.92 kB / 362.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1497, allocations: 3.938 kB / 362.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.1498, allocations: 57.75 kB / 362.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1498, allocations: 8 kB / 362.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1498, allocations: 0 / 362.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1499, allocations: 0 / 362.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1499, allocations: 7.984 kB / 362.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.15, allocations: 7.922 kB / 362.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.15, allocations: 4 kB / 362.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.15, allocations: 4.062 kB / 362.8 MB, free: 9.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001179/0.1501, allocations: 121.8 kB / 362.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.1502, allocations: 37.59 kB / 362.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.1503, allocations: 19.83 kB / 363 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1503, allocations: 3.984 kB / 363 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1503, allocations: 4 kB / 363 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1503, allocations: 0 / 363 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.1505, allocations: 169.6 kB / 363.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1505, allocations: 0 / 363.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.1506, allocations: 16.02 kB / 363.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1506, allocations: 0 / 363.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1506, allocations: 0 / 363.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1506, allocations: 0 / 363.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.1506, allocations: 7.938 kB / 363.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1508, allocations: 168.2 kB / 363.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.1509, allocations: 89 kB / 363.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1509, allocations: 4 kB / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.151, allocations: 0 / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.151, allocations: 4 kB / 363.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.151, allocations: 0 / 363.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.1511, allocations: 110 kB / 363.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 363.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1514, allocations: 8 kB / 363.5 MB, free: 8.805 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001399/0.1515, allocations: 103.2 kB / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1517, allocations: 27.92 kB / 363.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1517, allocations: 0 / 363.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.1517, allocations: 11.98 kB / 363.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1522, allocations: 28.16 kB / 363.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1526, allocations: 211 kB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.1532, allocations: 0.6912 MB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1532, allocations: 11.44 kB / 364.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1532, allocations: 0 / 364.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of Templates: time 0.002974/0.1562, allocations: 0.7529 MB / 365.4 MB, free: 6.914 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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 OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSampleCalcHelperMain.o] Error 1