Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.16 kB / 16.67 MB, free: 6.105 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.00128/0.00128, allocations: 178 kB / 17.57 MB, free: 5.824 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.996/1.996, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2528/0.2528, allocations: 43.59 MB / 315.6 MB, free: 408 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.0006316/0.000632, allocations: 19.83 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1371, allocations: 58.87 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002092/0.1393, allocations: 1.323 MB / 445.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1406, allocations: 0.9376 MB / 446.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.1407, allocations: 3.938 kB / 446.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1409, allocations: 23.91 kB / 446.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1411, allocations: 27.92 kB / 446.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1415, allocations: 147.2 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1416, allocations: 63.78 kB / 446.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1417, allocations: 23.97 kB / 446.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.1418, allocations: 19.92 kB / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1419, allocations: 31.84 kB / 446.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1419, allocations: 0 / 446.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1421, allocations: 47.98 kB / 446.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1421, allocations: 11.92 kB / 446.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.1422, allocations: 57.48 kB / 446.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1423, allocations: 67.84 kB / 446.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1423, allocations: 4 kB / 446.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1424, allocations: 4 kB / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1424, allocations: 0 / 446.9 MB, free: 2.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004386/0.1428, allocations: 383.3 kB / 447.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1428, allocations: 8.031 kB / 447.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.1429, allocations: 12.84 kB / 447.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1431, allocations: 180.3 kB / 447.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1431, allocations: 384 / 447.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1431, allocations: 8.359 kB / 447.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1433, allocations: 91.44 kB / 447.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1433, allocations: 3.906 kB / 447.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1434, allocations: 4 kB / 447.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1434, allocations: 0 / 447.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1435, allocations: 47.97 kB / 447.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.1439, allocations: 304.8 kB / 447.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.144, allocations: 62.47 kB / 448 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.1441, allocations: 28.94 kB / 448 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1442, allocations: 3.938 kB / 448 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1442, allocations: 34.56 kB / 448 MB, free: 1.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1442, allocations: 0 / 448 MB, free: 1.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007601/0.145, allocations: 257.2 kB / 448.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.145, allocations: 77.11 kB / 448.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1451, allocations: 135.5 kB / 448.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1451, allocations: 29.7 kB / 448.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1452, allocations: 104.1 kB / 448.6 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1452, allocations: 15.72 kB / 448.6 MB, free: 380 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1452, allocations: 17.66 kB / 448.7 MB, free: 356 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.1453, allocations: 322.8 kB / 449 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1454, allocations: 51.97 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1456, allocations: 61.67 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1458, allocations: 113 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1459, allocations: 0 / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003084/0.1462, allocations: 133.5 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1462, allocations: 4 kB / 449.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1462, allocations: 0 / 449.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1462, allocations: 4 kB / 449.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1464, allocations: 27.97 kB / 449.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1464, allocations: 0 / 449.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.1465, allocations: 15.94 kB / 449.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1465, allocations: 0 / 449.4 MB, free: 15.61 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 (7): * Single equations (assignments): 7 * 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.0001172/0.1466, allocations: 137.7 kB / 449.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1466, allocations: 7.906 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.147, allocations: 157.9 kB / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1471, allocations: 0 / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1471, allocations: 4 kB / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1471, allocations: 3.938 kB / 449.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.1477, allocations: 426.3 kB / 450.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1477, allocations: 4 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.1478, allocations: 19.98 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1478, allocations: 4 kB / 450.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1478, allocations: 3.938 kB / 450.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1479, allocations: 0 / 450.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1479, allocations: 7.922 kB / 450.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.1482, allocations: 231.4 kB / 450.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1483, allocations: 85 kB / 450.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1483, allocations: 15.94 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.1484, allocations: 15.98 kB / 450.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1485, allocations: 7.984 kB / 450.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1485, allocations: 0 / 450.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.1486, allocations: 103.3 kB / 450.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1486, allocations: 0 / 450.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1489, allocations: 24 kB / 450.6 MB, free: 14.26 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 (7): * Single equations (assignments): 7 * 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.001113/0.15, allocations: 451.2 kB / 451 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1503, allocations: 111.9 kB / 451.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1504, allocations: 0 / 451.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1505, allocations: 59.91 kB / 451.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1508, allocations: 19.98 kB / 451.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1513, allocations: 235 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1517, allocations: 0.7004 MB / 452.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.1518, allocations: 15.44 kB / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1518, allocations: 4 kB / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Templates: time 0.004388/0.1562, allocations: 1.785 MB / 454 MB, free: 10.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12CalcHelperMain.o] Error 1