Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 92.86 kB / 16.67 MB, free: 6.594 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.001482/0.001482, allocations: 181.4 kB / 17.57 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.963/1.963, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2605/0.2605, allocations: 43.59 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.0005826/0.000583, allocations: 19.78 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1771, allocations: 58.86 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002372/0.1796, allocations: 1.556 MB / 445.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.181, allocations: 0.8665 MB / 446.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1811, allocations: 4 kB / 446.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1816, allocations: 211.5 kB / 446.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1819, allocations: 151.6 kB / 446.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.1823, allocations: 139.1 kB / 447 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1826, allocations: 215.4 kB / 447.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1827, allocations: 17.55 kB / 447.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1829, allocations: 103.5 kB / 447.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1831, allocations: 147.5 kB / 447.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1831, allocations: 4 kB / 447.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1832, allocations: 35.98 kB / 447.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1834, allocations: 63.77 kB / 447.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1835, allocations: 109 kB / 447.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1837, allocations: 147.8 kB / 447.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1838, allocations: 0 / 447.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1838, allocations: 0 / 447.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1838, allocations: 3.938 kB / 447.8 MB, free: 1.406 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009247/0.1847, allocations: 0.5059 MB / 448.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.1848, allocations: 8.031 kB / 448.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1849, allocations: 36.56 kB / 448.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.1853, allocations: 280.1 kB / 448.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1853, allocations: 4.375 kB / 448.7 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.1853, allocations: 12.12 kB / 448.7 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.1856, allocations: 95.23 kB / 448.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1856, allocations: 11.98 kB / 448.8 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1856, allocations: 0 / 448.8 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1856, allocations: 3.938 kB / 448.8 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1858, allocations: 39.97 kB / 448.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.1865, allocations: 441 kB / 449.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1868, allocations: 121.3 kB / 449.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1869, allocations: 41.64 kB / 449.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.187, allocations: 4 kB / 449.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.1873, allocations: 117 kB / 449.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1874, allocations: 0 / 449.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00105/0.1884, allocations: 367.9 kB / 449.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.1885, allocations: 85.05 kB / 450 MB, free: 15.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.189, allocations: 432.4 kB / 450.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.189, allocations: 25.7 kB / 450.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1892, allocations: 152.4 kB / 450.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.1892, allocations: 51.3 kB / 450.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1893, allocations: 29.7 kB / 450.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1895, allocations: 338.8 kB / 451 MB, free: 14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1896, allocations: 39.97 kB / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1897, allocations: 79.3 kB / 451.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.19, allocations: 119.4 kB / 451.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.19, allocations: 0 / 451.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003407/0.1903, allocations: 181.2 kB / 451.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1903, allocations: 4 kB / 451.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1904, allocations: 4 kB / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1904, allocations: 0 / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1905, allocations: 31.98 kB / 451.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1906, allocations: 11.94 kB / 451.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1906, allocations: 11.91 kB / 451.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1907, allocations: 8.75 kB / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001669/0.1908, allocations: 165.7 kB / 451.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1909, allocations: 31.64 kB / 451.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.191, allocations: 38.62 kB / 451.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.191, allocations: 4 kB / 451.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.191, allocations: 7.875 kB / 451.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.191, allocations: 4 kB / 451.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.1919, allocations: 0.6245 MB / 452.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1919, allocations: 0 / 452.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.1919, allocations: 23.94 kB / 452.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.192, allocations: 4 kB / 452.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.192, allocations: 8.047 kB / 452.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.192, allocations: 4 kB / 452.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.192, allocations: 0 / 452.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1924, allocations: 364 kB / 452.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.1925, allocations: 104.8 kB / 452.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1926, allocations: 12 kB / 452.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1927, allocations: 7.938 kB / 452.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1928, allocations: 15.97 kB / 452.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.1928, allocations: 15.98 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.1932, allocations: 315 kB / 453.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1932, allocations: 0 / 453.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1936, allocations: 39.98 kB / 453.2 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001375/0.195, allocations: 475.6 kB / 453.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1953, allocations: 115.8 kB / 453.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1953, allocations: 8.125 kB / 453.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1954, allocations: 51.92 kB / 453.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.196, allocations: 64.92 kB / 453.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.197, allocations: 0.5814 MB / 454.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1974, allocations: 0.7596 MB / 455.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.1975, allocations: 35.36 kB / 455.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1975, allocations: 4 kB / 455.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of Templates: time 0.007065/0.2046, allocations: 3.215 MB / 458.5 MB, free: 6.336 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.o] Error 1