Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 105.5 kB / 16.52 MB, free: 6.723 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.001299/0.001299, allocations: 191.7 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, 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.3888/0.3888, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.001811/0.001811, allocations: 69.77 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2247, allocations: 57.78 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.004318/0.2291, allocations: 1.616 MB / 442.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.23, allocations: 328 kB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.23, allocations: 0 / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.2304, allocations: 15.92 kB / 442.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.2306, allocations: 27.91 kB / 442.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2309, allocations: 91.77 kB / 442.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.2311, allocations: 47.91 kB / 442.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2312, allocations: 15.92 kB / 442.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.2313, allocations: 19.88 kB / 442.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.2314, allocations: 19.86 kB / 442.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2314, allocations: 4 kB / 442.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.2315, allocations: 31.97 kB / 442.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.2316, allocations: 15.94 kB / 442.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.2316, allocations: 15.88 kB / 442.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2318, allocations: 55.86 kB / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2318, allocations: 0 / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2318, allocations: 0 / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2318, allocations: 0 / 442.8 MB, free: 5.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006986/0.2326, allocations: 375.2 kB / 443.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.2326, allocations: 8.031 kB / 443.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.2327, allocations: 8.844 kB / 443.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.233, allocations: 192.2 kB / 443.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.233, allocations: 4.375 kB / 443.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.233, allocations: 4.375 kB / 443.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2332, allocations: 49.81 kB / 443.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2332, allocations: 7.938 kB / 443.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2333, allocations: 0 / 443.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2333, allocations: 0 / 443.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2334, allocations: 19.98 kB / 443.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.2339, allocations: 296.7 kB / 443.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2342, allocations: 38.56 kB / 443.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.2342, allocations: 24.94 kB / 443.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2343, allocations: 0 / 443.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.2343, allocations: 34.56 kB / 443.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.2343, allocations: 4 kB / 443.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000674/0.235, allocations: 145.6 kB / 443.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.2351, allocations: 55.39 kB / 444 MB, free: 3.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2353, allocations: 146 kB / 444.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2353, allocations: 25.7 kB / 444.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.2354, allocations: 92.14 kB / 444.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2354, allocations: 23.64 kB / 444.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.2354, allocations: 21.72 kB / 444.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2356, allocations: 326.8 kB / 444.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.2357, allocations: 19.98 kB / 444.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.2358, allocations: 23.92 kB / 444.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2359, allocations: 48.83 kB / 444.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2359, allocations: 4 kB / 444.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.2361, allocations: 85.66 kB / 444.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2361, allocations: 4 kB / 444.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2361, allocations: 0 / 444.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2362, allocations: 0 / 444.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.2362, allocations: 15.98 kB / 444.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2362, allocations: 0 / 444.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.2363, allocations: 7.906 kB / 444.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2363, allocations: 0 / 444.8 MB, free: 2.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001051/0.2364, allocations: 129.7 kB / 444.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.2364, allocations: 7.984 kB / 445 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.2367, allocations: 94.28 kB / 445 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2367, allocations: 0 / 445 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.2367, allocations: 0 / 445 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.2367, allocations: 4 kB / 445 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.2372, allocations: 366.3 kB / 445.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2372, allocations: 0 / 445.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.2373, allocations: 8 kB / 445.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2373, allocations: 3.984 kB / 445.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2373, allocations: 4 kB / 445.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2373, allocations: 3.938 kB / 445.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2373, allocations: 3.938 kB / 445.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.2375, allocations: 191.4 kB / 445.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2376, allocations: 77.11 kB / 445.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2376, allocations: 0 / 445.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2377, allocations: 7.938 kB / 445.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.2378, allocations: 11.92 kB / 445.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2378, allocations: 0 / 445.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.2379, allocations: 110.5 kB / 445.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2379, allocations: 4 kB / 445.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.2381, allocations: 19.98 kB / 445.8 MB, free: 1.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001149/0.2393, allocations: 392.9 kB / 446.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2395, allocations: 55.95 kB / 446.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2395, allocations: 3.938 kB / 446.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.2396, allocations: 27.92 kB / 446.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.24, allocations: 19.98 kB / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.2405, allocations: 212.8 kB / 446.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.2409, allocations: 0.6926 MB / 447.2 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.241, allocations: 19.44 kB / 447.3 MB, free: 404 kB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.241, allocations: 0 / 447.3 MB, free: 404 kB / 318.1 MB Notification: Performance of Templates: time 0.004577/0.2456, allocations: 1.378 MB / 448.6 MB, free: 15.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2CalcHelperMain.o] Error 1