Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 105.3 kB / 16.52 MB, free: 6.723 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.001307/0.001307, allocations: 192.4 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.2613/0.2613, allocations: 43.51 MB / 314.1 MB, free: 0.75 MB / 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.001539/0.001539, allocations: 71.31 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 57.78 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003351/0.1562, allocations: 2.086 MB / 442.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1577, allocations: 1.065 MB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.1578, allocations: 4 kB / 443.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.158, allocations: 47.7 kB / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1583, allocations: 131.5 kB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.1593, allocations: 0.5394 MB / 444.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.1596, allocations: 283.1 kB / 444.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1598, allocations: 68.7 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.16, allocations: 127.4 kB / 444.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1602, allocations: 187.3 kB / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1603, allocations: 16 kB / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.1604, allocations: 28 kB / 445 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1606, allocations: 151.5 kB / 445.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1607, allocations: 158.7 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1609, allocations: 283.5 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.161, allocations: 0 / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.161, allocations: 0 / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.161, allocations: 3.938 kB / 445.6 MB, free: 2.359 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009339/0.1619, allocations: 0.769 MB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.162, allocations: 12.03 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.1621, allocations: 60.17 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.1626, allocations: 447.8 kB / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1626, allocations: 12.31 kB / 446.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1626, allocations: 20.03 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.163, allocations: 152.7 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.163, allocations: 4 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.163, allocations: 8 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.163, allocations: 4 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.1633, allocations: 119.8 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.1643, allocations: 0.6996 MB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1646, allocations: 137.1 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.1648, allocations: 69.8 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.1648, allocations: 4 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1649, allocations: 30.56 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1649, allocations: 4 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002197/0.1671, allocations: 0.7281 MB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1672, allocations: 85.33 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.1681, allocations: 0.8544 MB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1682, allocations: 33.64 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1684, allocations: 248.4 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.1685, allocations: 70.98 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1686, allocations: 41.7 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1688, allocations: 374.7 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.1691, allocations: 111.9 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1693, allocations: 129.6 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1699, allocations: 253.6 kB / 451 MB, free: 12.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1699, allocations: 0 / 451 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007143/0.1706, allocations: 340.7 kB / 451.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1707, allocations: 8 kB / 451.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1707, allocations: 0 / 451.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1707, allocations: 0 / 451.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.171, allocations: 51.95 kB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.171, allocations: 0 / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1712, allocations: 27.91 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1712, allocations: 4 kB / 451.5 MB, free: 12.24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002506/0.1715, allocations: 233.6 kB / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1716, allocations: 55.25 kB / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008822/0.1725, allocations: 398.7 kB / 452.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1725, allocations: 4 kB / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1725, allocations: 0 / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1725, allocations: 0 / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.174, allocations: 0.9308 MB / 453.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.174, allocations: 4 kB / 453.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.1743, allocations: 51.89 kB / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1743, allocations: 0 / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1743, allocations: 11.98 kB / 453.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1744, allocations: 3.938 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.1744, allocations: 4 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.1752, allocations: 0.5096 MB / 453.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1753, allocations: 136.4 kB / 453.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.1754, allocations: 7.938 kB / 453.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1756, allocations: 27.91 kB / 453.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.1757, allocations: 19.97 kB / 453.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1757, allocations: 4 kB / 453.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007253/0.1765, allocations: 0.6237 MB / 454.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1765, allocations: 0 / 454.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.1769, allocations: 64 kB / 454.5 MB, free: 9.059 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001173/0.178, allocations: 421.1 kB / 454.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.1787, allocations: 255.8 kB / 455.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1788, allocations: 0 / 455.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.1791, allocations: 143.8 kB / 455.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.1798, allocations: 75.88 kB / 455.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1816, allocations: 1.106 MB / 456.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.1821, allocations: 0.8736 MB / 457.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1823, allocations: 43.42 kB / 457.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1823, allocations: 0 / 457.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of Templates: time 0.01043/0.1927, allocations: 6.056 MB / 463.5 MB, free: 104 kB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23CalcHelperMain.o] Error 1