Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001397, allocations: 109.8 kB / 16.52 MB, free: 6.266 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.001729/0.001729, allocations: 194.1 kB / 17.44 MB, free: 5.887 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.885/1.885, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2842/0.2842, allocations: 43.51 MB / 314.1 MB, free: 0.7656 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.002274/0.002274, allocations: 71.84 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1777, allocations: 57.79 MB / 440.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003601/0.1814, allocations: 1.754 MB / 442.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1827, allocations: 0.789 MB / 443 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1828, allocations: 0 / 443 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1832, allocations: 39.81 kB / 443.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1834, allocations: 47.84 kB / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1837, allocations: 79.47 kB / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1838, allocations: 95.69 kB / 443.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.184, allocations: 16.45 kB / 443.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.1841, allocations: 31.8 kB / 443.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1841, allocations: 35.83 kB / 443.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1842, allocations: 4 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1843, allocations: 35.98 kB / 443.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1843, allocations: 19.86 kB / 443.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.1844, allocations: 35.73 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1846, allocations: 95.83 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1846, allocations: 0 / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1846, allocations: 0 / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1846, allocations: 0 / 443.6 MB, free: 4.418 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.0006341/0.1853, allocations: 414.9 kB / 444 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1853, allocations: 12.03 kB / 444 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.1854, allocations: 8.844 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1856, allocations: 216.6 kB / 444.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1856, allocations: 384 / 444.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1857, allocations: 16.12 kB / 444.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1858, allocations: 49.67 kB / 444.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1859, allocations: 0 / 444.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1859, allocations: 4 kB / 444.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1859, allocations: 0 / 444.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.186, allocations: 19.98 kB / 444.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.1863, allocations: 280.9 kB / 444.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1865, allocations: 66.61 kB / 444.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.1866, allocations: 16.86 kB / 444.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1866, allocations: 4 kB / 444.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.1868, allocations: 67.38 kB / 444.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1868, allocations: 0 / 444.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005244/0.1873, allocations: 177.1 kB / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1873, allocations: 55.41 kB / 444.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1875, allocations: 193 kB / 445.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1875, allocations: 29.7 kB / 445.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.1876, allocations: 108 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1876, allocations: 23.73 kB / 445.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1877, allocations: 29.66 kB / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.1877, allocations: 330.8 kB / 445.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1878, allocations: 23.98 kB / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.1879, allocations: 37.64 kB / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.188, allocations: 57.7 kB / 445.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.188, allocations: 0 / 445.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/0.1881, allocations: 101.4 kB / 445.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1882, allocations: 8.031 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1882, allocations: 8.359 kB / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1882, allocations: 0 / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.1883, allocations: 15.98 kB / 445.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1883, allocations: 7.938 kB / 445.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.1884, allocations: 7.938 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1884, allocations: 4 kB / 445.9 MB, free: 1.84 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 8.586e-05/0.1885, allocations: 129.8 kB / 446 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1885, allocations: 15.81 kB / 446 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1885, allocations: 17.41 kB / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1885, allocations: 0 / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1886, allocations: 3.984 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1886, allocations: 3.938 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.1889, allocations: 391.3 kB / 446.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1889, allocations: 0 / 446.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.189, allocations: 8 kB / 446.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.189, allocations: 4 kB / 446.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.189, allocations: 7.969 kB / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.189, allocations: 0 / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.189, allocations: 3.984 kB / 446.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1892, allocations: 204.5 kB / 446.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.1893, allocations: 88.92 kB / 446.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1893, allocations: 11.94 kB / 446.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.1894, allocations: 4 kB / 446.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.1894, allocations: 7.984 kB / 446.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1895, allocations: 4 kB / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1896, allocations: 156.9 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1896, allocations: 3.938 kB / 446.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1898, allocations: 20 kB / 447 MB, free: 0.668 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.001143/0.191, allocations: 476.4 kB / 447.4 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1912, allocations: 55.92 kB / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1912, allocations: 0 / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.1912, allocations: 31.92 kB / 447.5 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1916, allocations: 24.11 kB / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.1921, allocations: 282.9 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.1926, allocations: 0.7121 MB / 448.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.1927, allocations: 15.44 kB / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1927, allocations: 0 / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.00462/0.1973, allocations: 1.912 MB / 450.4 MB, free: 13.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.o] Error 1