Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.25 kB / 17.63 MB, free: 6.148 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.001268/0.001268, allocations: 182.9 kB / 18.52 MB, free: 5.312 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.534/1.534, allocations: 223.2 MB / 242.5 MB, free: 316 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.2242/0.2242, allocations: 44.22 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 12 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002311/0.159, allocations: 1.325 MB / 473.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.1599, allocations: 415.6 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.16, allocations: 3.938 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.1606, allocations: 439.2 kB / 474.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.161, allocations: 239.6 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.1615, allocations: 155.4 kB / 474.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1617, allocations: 139.7 kB / 474.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1618, allocations: 11.98 kB / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1619, allocations: 107.7 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1621, allocations: 171.7 kB / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1621, allocations: 0 / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1622, allocations: 39.98 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.1623, allocations: 91.61 kB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.1624, allocations: 65.52 kB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1626, allocations: 192 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1626, allocations: 3.938 kB / 475.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1627, allocations: 0 / 475.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1627, allocations: 4 kB / 475.5 MB, free: 10.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007071/0.1634, allocations: 0.5948 MB / 476.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1634, allocations: 8.562 kB / 476.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.1635, allocations: 43.44 kB / 476.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1638, allocations: 271.4 kB / 476.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1638, allocations: 4 kB / 476.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1639, allocations: 8 kB / 476.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1641, allocations: 69.56 kB / 476.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1641, allocations: 0 / 476.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1641, allocations: 0 / 476.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1641, allocations: 4 kB / 476.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1642, allocations: 35.97 kB / 476.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1648, allocations: 416.5 kB / 477 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1649, allocations: 42.56 kB / 477 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.165, allocations: 20.95 kB / 477 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.165, allocations: 7.969 kB / 477.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1651, allocations: 30.56 kB / 477.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1651, allocations: 4 kB / 477.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009926/0.1661, allocations: 351.8 kB / 477.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1661, allocations: 63.33 kB / 477.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.167, allocations: 0.8574 MB / 478.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1671, allocations: 29.7 kB / 478.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.1673, allocations: 220 kB / 478.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.1673, allocations: 31.55 kB / 478.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1674, allocations: 0 / 478.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.1677, allocations: 358.8 kB / 479 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1678, allocations: 35.97 kB / 479 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.1679, allocations: 39.98 kB / 479 MB, free: 6.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.168, allocations: 36.2 kB / 479.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.168, allocations: 0 / 479.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002942/0.1683, allocations: 149.2 kB / 479.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1683, allocations: 12 kB / 479.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1684, allocations: 3.984 kB / 479.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1684, allocations: 0 / 479.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1685, allocations: 23.88 kB / 479.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1685, allocations: 0 / 479.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.1686, allocations: 7.984 kB / 479.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.1686, allocations: 11.95 kB / 479.3 MB, free: 6.363 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 (8): * Single equations (assignments): 8 * 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.0002342/0.1689, allocations: 217.8 kB / 479.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1689, allocations: 43.44 kB / 479.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.1693, allocations: 173.4 kB / 479.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1693, allocations: 0 / 479.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.1693, allocations: 0 / 479.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1693, allocations: 11.94 kB / 479.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.17, allocations: 0.5225 MB / 480.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.17, allocations: 0 / 480.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.1701, allocations: 24.02 kB / 480.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1701, allocations: 3.938 kB / 480.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1701, allocations: 8 kB / 480.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1702, allocations: 0 / 480.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1702, allocations: 3.953 kB / 480.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.1705, allocations: 255.8 kB / 480.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1706, allocations: 108.6 kB / 480.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1706, allocations: 0 / 480.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.1707, allocations: 12 kB / 480.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1707, allocations: 11.94 kB / 480.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1707, allocations: 0 / 480.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006498/0.1714, allocations: 0.655 MB / 481.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1714, allocations: 0 / 481.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1717, allocations: 35.91 kB / 481.4 MB, free: 4.18 MB / 350.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 (8): * Single equations (assignments): 8 * 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.00118/0.1729, allocations: 453.5 kB / 481.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1732, allocations: 87.88 kB / 481.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1732, allocations: 7.875 kB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.1733, allocations: 44.03 kB / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1737, allocations: 32.3 kB / 482 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1751, allocations: 0.9026 MB / 482.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.1757, allocations: 0.8262 MB / 483.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1757, allocations: 15.44 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1757, allocations: 4 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Templates: time 0.007953/0.1837, allocations: 3.924 MB / 487.6 MB, free: 14.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2CalcHelperMain.o] Error 1