Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.000985, allocations: 93.62 kB / 16.67 MB, free: 5.855 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.00127/0.00127, allocations: 173.3 kB / 17.57 MB, free: 5.543 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.942/1.942, allocations: 205.4 MB / 223.7 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.2733/0.2733, allocations: 43.58 MB / 315.6 MB, free: 436 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.0008801/0.0008793, allocations: 16.66 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1763, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002348/0.1787, allocations: 1.416 MB / 445.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1799, allocations: 0.7768 MB / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.18, allocations: 4 kB / 446.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1803, allocations: 27.89 kB / 446.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1804, allocations: 47.84 kB / 446.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1807, allocations: 79.22 kB / 446.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1808, allocations: 91.69 kB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.1809, allocations: 8.234 kB / 446.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.181, allocations: 39.73 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.1811, allocations: 31.83 kB / 446.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1811, allocations: 4 kB / 446.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.1812, allocations: 39.98 kB / 446.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.1812, allocations: 23.92 kB / 446.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.1813, allocations: 61.44 kB / 446.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1815, allocations: 71.89 kB / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1815, allocations: 0 / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1815, allocations: 3.938 kB / 446.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1815, allocations: 0 / 446.8 MB, free: 2.43 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.0004917/0.182, allocations: 399.1 kB / 447.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.182, allocations: 12.03 kB / 447.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.1821, allocations: 8.844 kB / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1823, allocations: 212.9 kB / 447.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1823, allocations: 8.375 kB / 447.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1824, allocations: 8.062 kB / 447.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1825, allocations: 57.67 kB / 447.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1825, allocations: 0 / 447.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1826, allocations: 3.938 kB / 447.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1826, allocations: 0 / 447.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.1827, allocations: 19.98 kB / 447.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.183, allocations: 288.8 kB / 447.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1832, allocations: 54.69 kB / 447.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.1833, allocations: 24.78 kB / 447.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1833, allocations: 0 / 447.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.1835, allocations: 75.38 kB / 448 MB, free: 1.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1835, allocations: 0 / 448 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.184, allocations: 173.1 kB / 448.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1841, allocations: 51.41 kB / 448.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1842, allocations: 190.1 kB / 448.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1842, allocations: 29.7 kB / 448.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1843, allocations: 104.1 kB / 448.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1843, allocations: 27.64 kB / 448.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.1844, allocations: 13.72 kB / 448.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.1845, allocations: 326.8 kB / 448.9 MB, free: 172 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.1845, allocations: 23.98 kB / 448.9 MB, free: 148 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.1846, allocations: 33.7 kB / 448.9 MB, free: 108 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.1847, allocations: 65.64 kB / 449 MB, free: 36 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1847, allocations: 0 / 449 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.1849, allocations: 97.53 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1849, allocations: 10.19 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1849, allocations: 0 / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.185, allocations: 0 / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.1851, allocations: 15.98 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1851, allocations: 4 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.1851, allocations: 7.938 kB / 449.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1852, allocations: 4.531 kB / 449.1 MB, free: 15.89 MB / 334.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.000124/0.1853, allocations: 129.8 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1853, allocations: 15.81 kB / 449.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.1854, allocations: 20.64 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1854, allocations: 3.984 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1854, allocations: 8.125 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1854, allocations: 3.938 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.1859, allocations: 391.3 kB / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.186, allocations: 0 / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.186, allocations: 15.97 kB / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.186, allocations: 0 / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.186, allocations: 11.94 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.186, allocations: 0 / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1861, allocations: 0 / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1863, allocations: 200.3 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.1864, allocations: 92.92 kB / 450 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.1864, allocations: 7.938 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.1865, allocations: 7.984 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1866, allocations: 7.938 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1866, allocations: 8 kB / 450 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1867, allocations: 139.2 kB / 450.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1867, allocations: 0 / 450.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.187, allocations: 20 kB / 450.2 MB, free: 14.71 MB / 334.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.001254/0.1883, allocations: 460.3 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1884, allocations: 59.91 kB / 450.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1885, allocations: 0 / 450.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1885, allocations: 32.05 kB / 450.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1889, allocations: 23.98 kB / 450.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1894, allocations: 276.1 kB / 451 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1897, allocations: 0.7043 MB / 451.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1898, allocations: 19.38 kB / 451.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1898, allocations: 0 / 451.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004136/0.1939, allocations: 1.884 MB / 453.6 MB, free: 11.3 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.o] Error 1