Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 90.36 kB / 18 MB, free: 5.734 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.001204/0.001204, allocations: 180 kB / 18.91 MB, free: 4.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 242.9 MB, free: 28 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2443/0.2443, allocations: 44.25 MB / 338.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003548, allocations: 14.67 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002405/0.1446, allocations: 1.368 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1457, allocations: 439.2 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.1458, allocations: 8 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.146, allocations: 15.92 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1463, allocations: 31.84 kB / 474.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.1467, allocations: 126.7 kB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1469, allocations: 75.77 kB / 475 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1471, allocations: 16.23 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.1471, allocations: 31.8 kB / 475 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.1472, allocations: 39.77 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1472, allocations: 0 / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1474, allocations: 51.97 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.1475, allocations: 23.91 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1476, allocations: 45.52 kB / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1478, allocations: 84.08 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1478, allocations: 4 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1478, allocations: 0 / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1478, allocations: 0 / 475.2 MB, free: 10.99 MB / 350.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.0006842/0.1485, allocations: 411.2 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1485, allocations: 8.031 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1486, allocations: 16.84 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1488, allocations: 192.1 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1489, allocations: 4.375 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1489, allocations: 8.312 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1492, allocations: 103.5 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1492, allocations: 4 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1492, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1493, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1496, allocations: 95.86 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1501, allocations: 304.8 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1503, allocations: 86.47 kB / 476.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.1505, allocations: 56.94 kB / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1506, allocations: 0 / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1506, allocations: 34.56 kB / 476.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1506, allocations: 0 / 476.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001687/0.1523, allocations: 480.8 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1524, allocations: 77.11 kB / 477.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1525, allocations: 144.5 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1526, allocations: 29.7 kB / 477.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.1526, allocations: 96.08 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1527, allocations: 31.55 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1527, allocations: 13.72 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1528, allocations: 322.8 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1531, allocations: 99.86 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1534, allocations: 109.7 kB / 477.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.154, allocations: 192.7 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1541, allocations: 0 / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006674/0.1547, allocations: 233.4 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1548, allocations: 8 kB / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1548, allocations: 0 / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1548, allocations: 0 / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.155, allocations: 51.95 kB / 478.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.155, allocations: 3.938 kB / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1552, allocations: 39.91 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1552, allocations: 4 kB / 478.4 MB, free: 7.555 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0001045/0.1553, allocations: 122.4 kB / 478.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1554, allocations: 7.906 kB / 478.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.1561, allocations: 258.1 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1561, allocations: 0 / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1561, allocations: 0 / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1561, allocations: 3.938 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.157, allocations: 0.5299 MB / 479.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.157, allocations: 0 / 479.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.1572, allocations: 51.89 kB / 479.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1572, allocations: 3.938 kB / 479.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1573, allocations: 8.375 kB / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1573, allocations: 0 / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1573, allocations: 0 / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.158, allocations: 327.2 kB / 479.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1581, allocations: 96.94 kB / 479.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1581, allocations: 4 kB / 479.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1583, allocations: 31.97 kB / 479.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.1584, allocations: 15.97 kB / 479.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1584, allocations: 0 / 479.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.1585, allocations: 111.3 kB / 480 MB, free: 5.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 480 MB, free: 5.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1588, allocations: 35.98 kB / 480 MB, free: 5.863 MB / 350.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 (9): * Single equations (assignments): 9 * 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.001114/0.1599, allocations: 459.3 kB / 480.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00068/0.1606, allocations: 203.7 kB / 480.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1606, allocations: 0 / 480.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.1609, allocations: 103.9 kB / 480.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1613, allocations: 22.89 kB / 480.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1617, allocations: 266.6 kB / 481 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.162, allocations: 0.6965 MB / 481.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1621, allocations: 19.42 kB / 481.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1621, allocations: 0 / 481.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004678/0.1668, allocations: 2.111 MB / 483.9 MB, free: 2.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertabCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertabCalcHelperMain.o] Error 1