Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001441, allocations: 87.73 kB / 17.63 MB, free: 6.16 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.001468/0.001468, allocations: 186.9 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 242.5 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.22 MB / 337.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005358, allocations: 16.91 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1764, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002556/0.179, allocations: 1.468 MB / 473.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1815, allocations: 1.452 MB / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1817, allocations: 3.938 kB / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.182, allocations: 43.83 kB / 475.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1824, allocations: 75.67 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.1828, allocations: 147.2 kB / 475.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.183, allocations: 163.4 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.1831, allocations: 9.562 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1833, allocations: 63.66 kB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1835, allocations: 63.69 kB / 475.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.1835, allocations: 8 kB / 475.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1837, allocations: 59.95 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1837, allocations: 19.86 kB / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1838, allocations: 49.58 kB / 475.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1841, allocations: 131.9 kB / 475.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1841, allocations: 0 / 475.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1841, allocations: 0 / 475.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1841, allocations: 0 / 475.9 MB, free: 9.977 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007463/0.1848, allocations: 446.7 kB / 476.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1849, allocations: 8.031 kB / 476.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.185, allocations: 19.81 kB / 476.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1853, allocations: 242.6 kB / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1853, allocations: 0 / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1854, allocations: 4 kB / 476.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1856, allocations: 97.03 kB / 476.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1857, allocations: 4 kB / 476.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1857, allocations: 7.938 kB / 476.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1857, allocations: 0 / 476.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1858, allocations: 31.97 kB / 476.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.1861, allocations: 210.5 kB / 477 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1864, allocations: 109.2 kB / 477.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.1865, allocations: 41.69 kB / 477.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1865, allocations: 0 / 477.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.1868, allocations: 121 kB / 477.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1868, allocations: 0 / 477.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004483/0.1873, allocations: 161.4 kB / 477.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.1874, allocations: 132.5 kB / 477.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1877, allocations: 207.8 kB / 477.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1877, allocations: 29.7 kB / 477.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.1878, allocations: 112.1 kB / 477.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1879, allocations: 31.69 kB / 477.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1879, allocations: 4 kB / 477.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1881, allocations: 322.8 kB / 478.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1882, allocations: 27.98 kB / 478.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1883, allocations: 69.12 kB / 478.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.1884, allocations: 43.95 kB / 478.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1884, allocations: 0 / 478.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00026/0.1887, allocations: 134 kB / 478.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1887, allocations: 11.95 kB / 478.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1887, allocations: 3.938 kB / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1888, allocations: 0 / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1889, allocations: 23.98 kB / 478.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.1889, allocations: 8 kB / 478.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.189, allocations: 19.88 kB / 478.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.189, allocations: 8 kB / 478.6 MB, free: 7.047 MB / 350.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 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.1892, allocations: 130.3 kB / 478.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1892, allocations: 15.81 kB / 478.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.1893, allocations: 24.94 kB / 478.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1893, allocations: 0 / 478.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.1893, allocations: 4 kB / 478.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1893, allocations: 4 kB / 478.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1896, allocations: 213.5 kB / 479 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1896, allocations: 0 / 479 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1896, allocations: 7.984 kB / 479 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1897, allocations: 4 kB / 479 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1897, allocations: 3.938 kB / 479 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.1897, allocations: 7.953 kB / 479 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1897, allocations: 0 / 479 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.19, allocations: 173.7 kB / 479.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1901, allocations: 100.8 kB / 479.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1902, allocations: 4 kB / 479.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.1902, allocations: 4 kB / 479.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.1903, allocations: 15.94 kB / 479.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1903, allocations: 4 kB / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1905, allocations: 156.2 kB / 479.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 0 / 479.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1908, allocations: 40 kB / 479.5 MB, free: 6.051 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.192, allocations: 469.8 kB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1923, allocations: 83.91 kB / 480 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1923, allocations: 0 / 480 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1924, allocations: 35.92 kB / 480 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1927, allocations: 47.95 kB / 480.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.1934, allocations: 304.9 kB / 480.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1938, allocations: 0.7166 MB / 481.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1939, allocations: 35.36 kB / 481.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1939, allocations: 0 / 481.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Templates: time 0.006008/0.1999, allocations: 2.702 MB / 483.8 MB, free: 1.805 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.o] Error 1