Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 94.94 kB / 16.33 MB, free: 6.398 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.0008462/0.0008463, allocations: 187.5 kB / 17.22 MB, free: 6.289 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.49/1.49, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.238/0.238, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.0005924/0.0005925, allocations: 19.34 kB / 384.5 MB, free: 57.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1201, allocations: 58.87 MB / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001531/0.1217, allocations: 1.273 MB / 444.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.1221, allocations: 271.9 kB / 445 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1221, allocations: 4 kB / 445 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.1225, allocations: 451.2 kB / 445.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1228, allocations: 239.5 kB / 445.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.123, allocations: 98.62 kB / 445.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1231, allocations: 123.7 kB / 445.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.1232, allocations: 8.266 kB / 445.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.1233, allocations: 107.7 kB / 446 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1235, allocations: 167.7 kB / 446.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1235, allocations: 4 kB / 446.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.229e-05/0.1236, allocations: 15.94 kB / 446.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.1237, allocations: 83.73 kB / 446.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1237, allocations: 65.52 kB / 446.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1239, allocations: 179.6 kB / 446.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1239, allocations: 0 / 446.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1239, allocations: 0 / 446.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1239, allocations: 0 / 446.5 MB, free: 2.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004945/0.1244, allocations: 0.591 MB / 447.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1244, allocations: 12.02 kB / 447.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.1245, allocations: 43.48 kB / 447.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1247, allocations: 275.3 kB / 447.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1247, allocations: 0 / 447.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1247, allocations: 8 kB / 447.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1248, allocations: 53.67 kB / 447.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1249, allocations: 4 kB / 447.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1249, allocations: 3.938 kB / 447.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1249, allocations: 0 / 447.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.125, allocations: 35.98 kB / 447.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1254, allocations: 376.8 kB / 447.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1255, allocations: 38.56 kB / 447.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.1255, allocations: 28.94 kB / 447.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1256, allocations: 7.875 kB / 447.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1256, allocations: 34.56 kB / 448 MB, free: 1.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1256, allocations: 3.938 kB / 448 MB, free: 1.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002829/0.1259, allocations: 133.3 kB / 448.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1259, allocations: 51.41 kB / 448.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.1265, allocations: 0.8574 MB / 449 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1266, allocations: 25.7 kB / 449 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1267, allocations: 212 kB / 449.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.1268, allocations: 15.83 kB / 449.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1268, allocations: 0 / 449.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1269, allocations: 354.8 kB / 449.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.127, allocations: 23.98 kB / 449.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.127, allocations: 23.92 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.1271, allocations: 19.98 kB / 449.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1271, allocations: 0 / 449.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001764/0.1273, allocations: 109.2 kB / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1273, allocations: 6.5 kB / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1273, allocations: 0 / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1274, allocations: 0 / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.1274, allocations: 15.98 kB / 449.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1274, allocations: 3.953 kB / 449.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.1275, allocations: 11.91 kB / 449.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1275, allocations: 4 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001705/0.1277, allocations: 213.8 kB / 450 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.1278, allocations: 35.53 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.128, allocations: 124.9 kB / 450.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.128, allocations: 4 kB / 450.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.128, allocations: 4 kB / 450.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.128, allocations: 3.953 kB / 450.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.1283, allocations: 281.6 kB / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1283, allocations: 0 / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.1284, allocations: 11.98 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1284, allocations: 4 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1284, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1284, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1284, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1286, allocations: 214.9 kB / 450.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.1287, allocations: 108.6 kB / 450.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1288, allocations: 3.938 kB / 450.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1288, allocations: 8 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1289, allocations: 7.984 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1289, allocations: 0 / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005988/0.1295, allocations: 0.651 MB / 451.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1295, allocations: 0 / 451.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1297, allocations: 19.98 kB / 451.5 MB, free: 13.37 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00079/0.1305, allocations: 348.4 kB / 451.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1307, allocations: 39.97 kB / 451.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1307, allocations: 0 / 451.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.1308, allocations: 31.92 kB / 451.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1312, allocations: 21.95 kB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1322, allocations: 0.8352 MB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.1326, allocations: 0.8185 MB / 453.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.1327, allocations: 11.44 kB / 453.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1327, allocations: 4 kB / 453.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Templates: time 0.006494/0.1392, allocations: 3.399 MB / 457 MB, free: 7.879 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9CalcHelperMain.o] Error 1