Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 106 kB / 16.52 MB, free: 6.676 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.001918/0.001918, allocations: 198.9 kB / 17.44 MB, free: 6.059 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.903/1.903, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2803/0.2803, allocations: 43.52 MB / 314.1 MB, free: 0.7617 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.002084/0.002084, allocations: 73 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1735, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004479/0.178, allocations: 1.747 MB / 442.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1798, allocations: 0.7967 MB / 443 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.18, allocations: 3.938 kB / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.1805, allocations: 27.91 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1809, allocations: 51.81 kB / 443.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1813, allocations: 75.8 kB / 443.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1815, allocations: 95.67 kB / 443.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1817, allocations: 16.52 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1818, allocations: 39.73 kB / 443.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1819, allocations: 23.86 kB / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.182, allocations: 7.984 kB / 443.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1822, allocations: 35.98 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.1822, allocations: 15.92 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.1823, allocations: 35.73 kB / 443.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1826, allocations: 83.83 kB / 443.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1826, allocations: 0 / 443.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1826, allocations: 8 kB / 443.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1826, allocations: 0 / 443.5 MB, free: 4.453 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00077/0.1834, allocations: 414.2 kB / 443.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.1835, allocations: 8.031 kB / 443.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.1836, allocations: 8.844 kB / 444 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1839, allocations: 217.1 kB / 444.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1839, allocations: 384 / 444.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.184, allocations: 8.125 kB / 444.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1842, allocations: 57.67 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1842, allocations: 3.984 kB / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1842, allocations: 0 / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1842, allocations: 3.938 kB / 444.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.1843, allocations: 23.92 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.1849, allocations: 284.8 kB / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1851, allocations: 62.67 kB / 444.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.1851, allocations: 16.86 kB / 444.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.1852, allocations: 11.92 kB / 444.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.1855, allocations: 63.39 kB / 444.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1855, allocations: 0 / 444.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.1861, allocations: 177.3 kB / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1862, allocations: 63.39 kB / 444.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1863, allocations: 186.1 kB / 445.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1863, allocations: 29.7 kB / 445.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.1864, allocations: 100.1 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1864, allocations: 27.69 kB / 445.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1865, allocations: 21.72 kB / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.1866, allocations: 326.8 kB / 445.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.1866, allocations: 27.98 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.1867, allocations: 33.7 kB / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1868, allocations: 57.66 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1868, allocations: 0 / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.187, allocations: 101.5 kB / 445.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.187, allocations: 4 kB / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.187, allocations: 0 / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1871, allocations: 8.031 kB / 445.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1872, allocations: 12 kB / 445.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1872, allocations: 3.984 kB / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.1873, allocations: 11.94 kB / 445.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1873, allocations: 0 / 445.9 MB, free: 1.895 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001155/0.1874, allocations: 125.8 kB / 446 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1874, allocations: 15.8 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.1875, allocations: 20.66 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1875, allocations: 4 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1875, allocations: 4 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1875, allocations: 3.938 kB / 446 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1879, allocations: 383.3 kB / 446.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1879, allocations: 0 / 446.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.188, allocations: 16.11 kB / 446.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.188, allocations: 4 kB / 446.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.188, allocations: 11.88 kB / 446.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.188, allocations: 4.031 kB / 446.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.188, allocations: 0 / 446.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1882, allocations: 192.3 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.1883, allocations: 85.02 kB / 446.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1883, allocations: 15.92 kB / 446.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.1884, allocations: 0 / 446.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1884, allocations: 11.94 kB / 446.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1885, allocations: 7.984 kB / 446.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.412e-05/0.1886, allocations: 139.2 kB / 446.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1886, allocations: 0 / 446.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1888, allocations: 27.89 kB / 446.9 MB, free: 0.7305 MB / 318.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001159/0.19, allocations: 472.4 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1902, allocations: 59.91 kB / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1902, allocations: 4 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.1903, allocations: 23.98 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1907, allocations: 31.95 kB / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.1913, allocations: 270.8 kB / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1917, allocations: 0.7043 MB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.1917, allocations: 23.42 kB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1917, allocations: 0 / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004992/0.1967, allocations: 1.893 MB / 450.4 MB, free: 13.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.CombiTimeTable.Test33CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33CalcHelperMain.o] Error 1