Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 93.38 kB / 16.67 MB, free: 6.586 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.001404/0.001404, allocations: 174.9 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 1.922/1.922, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.3079/0.3079, allocations: 43.59 MB / 315.6 MB, free: 436 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.0006214/0.0006214, allocations: 18.05 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1484, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002311/0.1508, allocations: 1.716 MB / 445.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1522, allocations: 0.9522 MB / 446.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.1523, allocations: 8 kB / 446.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1525, allocations: 31.77 kB / 446.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1528, allocations: 135.5 kB / 446.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.1535, allocations: 379.2 kB / 447.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1538, allocations: 267.1 kB / 447.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.154, allocations: 60.69 kB / 447.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1541, allocations: 111.5 kB / 447.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1543, allocations: 179.3 kB / 447.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1544, allocations: 8 kB / 447.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.1545, allocations: 31.94 kB / 448 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1546, allocations: 135.5 kB / 448.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1547, allocations: 172.4 kB / 448.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1549, allocations: 267.5 kB / 448.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1549, allocations: 4 kB / 448.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.155, allocations: 0 / 448.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.155, allocations: 0 / 448.5 MB, free: 0.7383 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.0007951/0.1558, allocations: 0.7039 MB / 449.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1558, allocations: 12.03 kB / 449.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.1559, allocations: 56.28 kB / 449.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.1565, allocations: 443.9 kB / 449.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1565, allocations: 12.31 kB / 449.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1565, allocations: 12.12 kB / 449.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1569, allocations: 147.2 kB / 449.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1569, allocations: 11.91 kB / 449.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1569, allocations: 4 kB / 449.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1569, allocations: 4 kB / 449.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1572, allocations: 111.9 kB / 450 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.1582, allocations: 0.6722 MB / 450.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.1585, allocations: 133.2 kB / 450.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1587, allocations: 69.81 kB / 450.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1587, allocations: 4 kB / 450.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.1588, allocations: 34.56 kB / 450.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1588, allocations: 0 / 450.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002388/0.1612, allocations: 0.744 MB / 451.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1613, allocations: 81.33 kB / 451.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.1622, allocations: 0.8465 MB / 452.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1623, allocations: 33.64 kB / 452.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1625, allocations: 248.4 kB / 452.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.1627, allocations: 67.02 kB / 452.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1627, allocations: 21.7 kB / 453 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1629, allocations: 378.7 kB / 453.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.1633, allocations: 103.9 kB / 453.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1636, allocations: 129.5 kB / 453.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.1642, allocations: 245.5 kB / 453.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1642, allocations: 0 / 453.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007456/0.165, allocations: 329 kB / 454.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.165, allocations: 10.03 kB / 454.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.165, allocations: 0 / 454.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1651, allocations: 0 / 454.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.1654, allocations: 75.88 kB / 454.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1654, allocations: 0 / 454.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1656, allocations: 23.98 kB / 454.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1656, allocations: 11.98 kB / 454.2 MB, free: 10.75 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.0002466/0.1659, allocations: 213.7 kB / 454.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.166, allocations: 55.34 kB / 454.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/0.1669, allocations: 390.4 kB / 454.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1669, allocations: 4 kB / 454.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1669, allocations: 4 kB / 454.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1669, allocations: 0 / 454.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1685, allocations: 0.8995 MB / 455.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1685, allocations: 0 / 455.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.1689, allocations: 63.95 kB / 455.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1689, allocations: 0 / 455.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.1689, allocations: 4.469 kB / 455.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1689, allocations: 3.938 kB / 455.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1689, allocations: 0 / 455.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.1698, allocations: 0.498 MB / 456.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.17, allocations: 144.4 kB / 456.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.17, allocations: 19.92 kB / 456.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1703, allocations: 23.92 kB / 456.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.1704, allocations: 23.97 kB / 456.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1704, allocations: 7.984 kB / 456.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007154/0.1711, allocations: 0.6159 MB / 457.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1711, allocations: 4 kB / 457.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1715, allocations: 59.91 kB / 457.3 MB, free: 7.625 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.001153/0.1727, allocations: 419.8 kB / 457.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.1734, allocations: 263.7 kB / 457.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1734, allocations: 4 kB / 457.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1737, allocations: 143.8 kB / 458.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.1744, allocations: 67.14 kB / 458.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1761, allocations: 1.051 MB / 459.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.1766, allocations: 0.858 MB / 460 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1768, allocations: 43.41 kB / 460.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1768, allocations: 0 / 460.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Templates: time 0.009959/0.1868, allocations: 5.654 MB / 465.7 MB, free: 15.16 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test23CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23CalcHelperMain.o] Error 1