Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007952/0.0007953, allocations: 95.73 kB / 16.33 MB, free: 5.941 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.001063/0.001063, allocations: 180.7 kB / 17.22 MB, free: 5.883 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.505/1.505, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3568/0.3568, allocations: 43.54 MB / 315.2 MB, free: 8.875 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.0005898/0.0005898, allocations: 14.97 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.134, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002706/0.1368, allocations: 1.618 MB / 445 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1383, allocations: 0.9996 MB / 446 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.1384, allocations: 0 / 446 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1387, allocations: 35.78 kB / 446.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1389, allocations: 131.5 kB / 446.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.14, allocations: 0.5147 MB / 446.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1403, allocations: 235.2 kB / 446.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1405, allocations: 68.72 kB / 447 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1406, allocations: 99.55 kB / 447.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1409, allocations: 159.4 kB / 447.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1409, allocations: 8 kB / 447.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.141, allocations: 27.97 kB / 447.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1411, allocations: 139.6 kB / 447.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1412, allocations: 73.45 kB / 447.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1415, allocations: 259.5 kB / 447.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1415, allocations: 0 / 447.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1415, allocations: 4 kB / 447.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1415, allocations: 0 / 447.8 MB, free: 8.684 MB / 382.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.0008214/0.1423, allocations: 0.692 MB / 448.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1424, allocations: 8.031 kB / 448.5 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.1424, allocations: 51.34 kB / 448.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.1429, allocations: 419.1 kB / 448.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.143, allocations: 8 kB / 448.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.143, allocations: 12 kB / 448.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1433, allocations: 147.3 kB / 449.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1433, allocations: 11.89 kB / 449.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1433, allocations: 4 kB / 449.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1433, allocations: 7.953 kB / 449.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1435, allocations: 103.9 kB / 449.2 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.1444, allocations: 0.6683 MB / 449.9 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1446, allocations: 125.2 kB / 450 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1447, allocations: 53.81 kB / 450 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1447, allocations: 7.984 kB / 450.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1448, allocations: 38.56 kB / 450.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1448, allocations: 0 / 450.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001352/0.1461, allocations: 0.5691 MB / 450.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1462, allocations: 85.09 kB / 450.7 MB, free: 5.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.1471, allocations: 0.8505 MB / 451.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1471, allocations: 29.7 kB / 451.6 MB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1473, allocations: 248.2 kB / 451.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1473, allocations: 55.2 kB / 451.9 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.1474, allocations: 4 kB / 451.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1475, allocations: 362.8 kB / 452.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1477, allocations: 75.95 kB / 452.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1479, allocations: 89.67 kB / 452.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.148, allocations: 83.89 kB / 452.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.148, allocations: 0 / 452.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004173/0.1485, allocations: 257.1 kB / 452.8 MB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1485, allocations: 8 kB / 452.8 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1485, allocations: 0 / 452.8 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1485, allocations: 0 / 452.8 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1487, allocations: 48.09 kB / 452.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1487, allocations: 3.953 kB / 452.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1489, allocations: 27.83 kB / 452.9 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1489, allocations: 8 kB / 452.9 MB, free: 3.305 MB / 382.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 (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 prepare postOptimizeDAE: time 0.0001819/0.1491, allocations: 213.8 kB / 453.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.1492, allocations: 51.34 kB / 453.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.1497, allocations: 302 kB / 453.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1497, allocations: 0 / 453.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1497, allocations: 4 kB / 453.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1498, allocations: 3.953 kB / 453.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.1507, allocations: 0.8024 MB / 454.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1508, allocations: 0 / 454.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1509, allocations: 39.97 kB / 454.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1509, allocations: 7.953 kB / 454.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.151, allocations: 4 kB / 454.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.151, allocations: 80 / 454.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.151, allocations: 3.984 kB / 454.3 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.1515, allocations: 441.9 kB / 454.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1516, allocations: 148.4 kB / 454.9 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.1517, allocations: 7.953 kB / 454.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1518, allocations: 15.94 kB / 454.9 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.1519, allocations: 23.97 kB / 454.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1519, allocations: 4 kB / 454.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000609/0.1525, allocations: 0.6237 MB / 455.5 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1525, allocations: 0 / 455.5 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.1529, allocations: 48 kB / 455.6 MB, free: 488 kB / 382.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 (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.0008965/0.1538, allocations: 413.7 kB / 456 MB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2136/0.3673, allocations: 176.1 kB / 456.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.3674, allocations: 0 / 456.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3676, allocations: 96.03 kB / 456.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.3684, allocations: 68.14 kB / 456.3 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3696, allocations: 0.9828 MB / 457.3 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3698, allocations: 0.8605 MB / 458.2 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.37, allocations: 38.7 kB / 458.2 MB, free: 45.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.37, allocations: 0 / 458.2 MB, free: 45.69 MB / 382.1 MB Notification: Performance of Templates: time 0.006883/0.3769, allocations: 5.493 MB / 463.7 MB, free: 45.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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 OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22CalcHelperMain.o] Error 1