Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009422, allocations: 89.22 kB / 16.67 MB, free: 6.59 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.0009324/0.0009327, allocations: 180.3 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2655/0.2655, allocations: 43.59 MB / 315.6 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005844/0.0005845, allocations: 16.11 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002006/0.1455, allocations: 1.416 MB / 445.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1467, allocations: 0.773 MB / 446.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.1467, allocations: 0 / 446.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1471, allocations: 47.88 kB / 446.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1473, allocations: 47.81 kB / 446.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1475, allocations: 87.16 kB / 446.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1476, allocations: 95.62 kB / 446.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1477, allocations: 12.23 kB / 446.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.1478, allocations: 47.72 kB / 446.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1479, allocations: 27.86 kB / 446.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1479, allocations: 3.984 kB / 446.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.148, allocations: 39.98 kB / 446.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1481, allocations: 19.92 kB / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1481, allocations: 61.44 kB / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1483, allocations: 91.75 kB / 446.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1483, allocations: 0 / 446.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1483, allocations: 0 / 446.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1483, allocations: 0 / 446.9 MB, free: 2.395 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004994/0.1488, allocations: 411 kB / 447.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1489, allocations: 8.031 kB / 447.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1489, allocations: 16.75 kB / 447.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1491, allocations: 216 kB / 447.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1491, allocations: 4.375 kB / 447.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1492, allocations: 8.125 kB / 447.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1493, allocations: 57.61 kB / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1493, allocations: 0 / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1494, allocations: 7.938 kB / 447.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1494, allocations: 0 / 447.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.1495, allocations: 19.98 kB / 447.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1498, allocations: 284.9 kB / 447.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.15, allocations: 58.61 kB / 447.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.15, allocations: 28.84 kB / 448 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1501, allocations: 0 / 448 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.1502, allocations: 67.39 kB / 448 MB, free: 1.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1502, allocations: 0 / 448 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.1507, allocations: 181.1 kB / 448.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1508, allocations: 55.41 kB / 448.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1509, allocations: 222.7 kB / 448.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.151, allocations: 29.7 kB / 448.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.151, allocations: 104.1 kB / 448.6 MB, free: 456 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.151, allocations: 27.64 kB / 448.6 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.1511, allocations: 17.72 kB / 448.6 MB, free: 404 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.1511, allocations: 326.8 kB / 449 MB, free: 68 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.1512, allocations: 19.98 kB / 449 MB, free: 48 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.1513, allocations: 41.75 kB / 449 MB, free: 16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1514, allocations: 65.64 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1514, allocations: 0 / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1516, allocations: 101.4 kB / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1516, allocations: 6.188 kB / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1517, allocations: 0 / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1517, allocations: 7.984 kB / 449.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1518, allocations: 15.98 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1518, allocations: 4.031 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.1519, allocations: 7.938 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1519, allocations: 8 kB / 449.2 MB, free: 15.77 MB / 334.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001866/0.1521, allocations: 129.8 kB / 449.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.1521, allocations: 7.906 kB / 449.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.1521, allocations: 29.48 kB / 449.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1522, allocations: 0 / 449.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1522, allocations: 0 / 449.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1522, allocations: 3.938 kB / 449.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1527, allocations: 399.3 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1527, allocations: 7.828 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.1527, allocations: 11.98 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1527, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1527, allocations: 3.938 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.1527, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1528, allocations: 4 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.153, allocations: 208.2 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.1531, allocations: 92.91 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1531, allocations: 3.938 kB / 450.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1532, allocations: 8.375 kB / 450.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.1533, allocations: 11.92 kB / 450.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1533, allocations: 4 kB / 450.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1534, allocations: 172.3 kB / 450.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1534, allocations: 0 / 450.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1537, allocations: 27.98 kB / 450.3 MB, free: 14.56 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001272/0.155, allocations: 469.4 kB / 450.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1552, allocations: 59.92 kB / 450.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1552, allocations: 0 / 450.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1553, allocations: 27.98 kB / 450.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1556, allocations: 23.97 kB / 450.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.1561, allocations: 315.9 kB / 451.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1565, allocations: 0.7083 MB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1565, allocations: 19.42 kB / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1566, allocations: 4 kB / 451.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Templates: time 0.00442/0.161, allocations: 1.946 MB / 453.9 MB, free: 11.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.o] Error 1