Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 92.19 kB / 16.67 MB, free: 6.586 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.001214/0.001214, allocations: 181.7 kB / 17.58 MB, free: 6.191 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.944/1.944, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2749/0.2749, allocations: 43.58 MB / 315.6 MB, free: 428 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.0005819/0.000582, allocations: 17.73 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1625, allocations: 58.86 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001821/0.1644, allocations: 1.277 MB / 445.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.165, allocations: 291.8 kB / 445.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.165, allocations: 0 / 445.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1653, allocations: 27.84 kB / 445.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1654, allocations: 39.84 kB / 445.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1657, allocations: 55.88 kB / 445.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1658, allocations: 63.83 kB / 445.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1659, allocations: 7.984 kB / 445.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.166, allocations: 19.88 kB / 445.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.166, allocations: 19.86 kB / 445.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1661, allocations: 0 / 445.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.1661, allocations: 35.91 kB / 445.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.1662, allocations: 11.94 kB / 445.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1662, allocations: 49.5 kB / 446 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1664, allocations: 63.92 kB / 446 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1664, allocations: 0 / 446 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1664, allocations: 0 / 446 MB, free: 3.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1664, allocations: 0 / 446 MB, free: 3.195 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.0004309/0.1668, allocations: 371.2 kB / 446.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1669, allocations: 8.031 kB / 446.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1669, allocations: 8.844 kB / 446.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.1671, allocations: 195.5 kB / 446.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1671, allocations: 4.375 kB / 446.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1672, allocations: 16.22 kB / 446.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1673, allocations: 49.81 kB / 446.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1673, allocations: 0 / 446.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1673, allocations: 3.938 kB / 446.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1674, allocations: 0 / 446.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/0.1675, allocations: 23.98 kB / 446.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1678, allocations: 276.9 kB / 447 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.168, allocations: 46.5 kB / 447 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.1681, allocations: 20.94 kB / 447.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1681, allocations: 0 / 447.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1681, allocations: 34.56 kB / 447.1 MB, free: 2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1681, allocations: 0 / 447.1 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.1686, allocations: 157.3 kB / 447.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1687, allocations: 55.41 kB / 447.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1688, allocations: 165.8 kB / 447.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1688, allocations: 25.7 kB / 447.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.1689, allocations: 100.1 kB / 447.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1689, allocations: 15.81 kB / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.1689, allocations: 9.719 kB / 447.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.169, allocations: 330.8 kB / 447.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1691, allocations: 19.98 kB / 447.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.1692, allocations: 23.98 kB / 448 MB, free: 1.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1693, allocations: 60.77 kB / 448 MB, free: 1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1693, allocations: 0 / 448 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.1694, allocations: 85.77 kB / 448.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1695, allocations: 10.19 kB / 448.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1695, allocations: 0 / 448.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1695, allocations: 3.938 kB / 448.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.1696, allocations: 23.98 kB / 448.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1696, allocations: 0 / 448.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.1696, allocations: 7.906 kB / 448.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1696, allocations: 4 kB / 448.2 MB, free: 0.8633 MB / 318.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 (5): * Single equations (assignments): 5 * 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 6.332e-05/0.1697, allocations: 133.6 kB / 448.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1697, allocations: 8.188 kB / 448.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1699, allocations: 97.97 kB / 448.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.17, allocations: 3.984 kB / 448.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.17, allocations: 0 / 448.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.17, allocations: 0 / 448.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.1703, allocations: 366.4 kB / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1703, allocations: 0 / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.1704, allocations: 15.98 kB / 448.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1704, allocations: 0 / 448.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1704, allocations: 4 kB / 448.8 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1704, allocations: 3.938 kB / 448.8 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1704, allocations: 0 / 448.8 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1706, allocations: 187.8 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1707, allocations: 85.02 kB / 449 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1707, allocations: 8 kB / 449.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.1708, allocations: 15.92 kB / 449.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1709, allocations: 3.938 kB / 449.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1709, allocations: 4 kB / 449.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.171, allocations: 130.7 kB / 449.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 449.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1712, allocations: 15.98 kB / 449.2 MB, free: 15.7 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 (5): * Single equations (assignments): 5 * 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.001051/0.1723, allocations: 385 kB / 449.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1725, allocations: 59.95 kB / 449.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1725, allocations: 7.938 kB / 449.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1726, allocations: 27.92 kB / 449.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1729, allocations: 16.19 kB / 449.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.1734, allocations: 239 kB / 449.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1738, allocations: 0.6926 MB / 450.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1738, allocations: 19.42 kB / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1738, allocations: 0 / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.003631/0.1775, allocations: 1.384 MB / 452 MB, free: 12.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11CalcHelperMain.o] Error 1