Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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) 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.000856, allocations: 98.86 kB / 16.96 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 186.8 kB / 17.84 MB, free: 4.934 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.385/1.385, allocations: 223.3 MB / 241.9 MB, free: 14.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 4.562 kB / 301.5 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 50.41 MB / 351.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001202/0.1521, allocations: 0.597 MB / 352.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.1524, allocations: 155.5 kB / 352.6 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.1525, allocations: 4 kB / 352.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.1526, allocations: 15.92 kB / 352.6 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1528, allocations: 7.938 kB / 352.6 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.153, allocations: 39.89 kB / 352.7 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1531, allocations: 55.84 kB / 352.7 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1533, allocations: 36.14 kB / 352.8 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.1533, allocations: 19.88 kB / 352.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1534, allocations: 31.84 kB / 352.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1534, allocations: 0 / 352.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.1534, allocations: 4 kB / 352.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1535, allocations: 23.91 kB / 352.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1535, allocations: 41.64 kB / 352.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.1536, allocations: 63.81 kB / 353 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1537, allocations: 0 / 353 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1537, allocations: 4 kB / 353 MB, free: 2.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1537, allocations: 0 / 353 MB, free: 2.648 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005124/0.1542, allocations: 403 kB / 353.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.1543, allocations: 12.03 kB / 353.4 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.1543, allocations: 11.91 kB / 353.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1546, allocations: 206 kB / 353.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1546, allocations: 4 kB / 353.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1546, allocations: 12 kB / 353.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.1552, allocations: 233.6 kB / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1552, allocations: 0 / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1553, allocations: 8 kB / 353.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1553, allocations: 0 / 353.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.1554, allocations: 43.97 kB / 353.9 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.1556, allocations: 193.5 kB / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1559, allocations: 146.9 kB / 354.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.156, allocations: 84.91 kB / 354.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.1561, allocations: 3.938 kB / 354.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1561, allocations: 38.56 kB / 354.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1561, allocations: 3.938 kB / 354.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003182/0.1564, allocations: 180.8 kB / 354.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1565, allocations: 59.41 kB / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1567, allocations: 158.2 kB / 354.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1567, allocations: 29.64 kB / 354.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1568, allocations: 96.45 kB / 354.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1568, allocations: 8 kB / 354.9 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.1568, allocations: 4 kB / 354.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.1571, allocations: 326.8 kB / 355.2 MB, free: 224 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.1571, allocations: 27.92 kB / 355.2 MB, free: 196 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1572, allocations: 121.7 kB / 355.3 MB, free: 24 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.1573, allocations: 44.05 kB / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1573, allocations: 3.984 kB / 355.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002142/0.1576, allocations: 157.6 kB / 355.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.1577, allocations: 12.09 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1577, allocations: 4 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1577, allocations: 4 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1578, allocations: 35.92 kB / 355.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1579, allocations: 4 kB / 355.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.1579, allocations: 4 kB / 355.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1579, allocations: 12 kB / 355.6 MB, free: 15.74 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001285/0.1581, allocations: 149.7 kB / 355.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.1583, allocations: 141.3 kB / 355.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.1584, allocations: 21.19 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1584, allocations: 3.984 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1584, allocations: 3.984 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1584, allocations: 0 / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1586, allocations: 193.5 kB / 356.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1586, allocations: 0 / 356.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1587, allocations: 27.98 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1587, allocations: 7.828 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1587, allocations: 8 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1587, allocations: 0 / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1587, allocations: 4 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.1589, allocations: 168.8 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1591, allocations: 100.9 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1591, allocations: 4 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.1591, allocations: 4 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-06/0.1591, allocations: 0 / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1592, allocations: 8 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.1592, allocations: 121.5 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1595, allocations: 23.94 kB / 356.6 MB, free: 14.67 MB / 302.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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000117/0.1596, allocations: 106.6 kB / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1598, allocations: 104.1 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1598, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.1598, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1602, allocations: 99.92 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.1606, allocations: 298.3 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.1611, allocations: 0.7202 MB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.1611, allocations: 15.44 kB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1612, allocations: 0 / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002937/0.1641, allocations: 1.336 MB / 359.2 MB, free: 11.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorizedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorizedCalcHelperMain.o] Error 1