Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 88.47 kB / 17.63 MB, free: 6.293 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.001088/0.001088, allocations: 181.3 kB / 18.52 MB, free: 5.445 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.493/1.493, allocations: 223.2 MB / 242.5 MB, free: 312 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.23 MB / 337.9 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 61.93 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002097/0.1435, allocations: 1.255 MB / 473.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1451, allocations: 0.9648 MB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1452, allocations: 0 / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1455, allocations: 23.91 kB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1457, allocations: 27.92 kB / 474.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.146, allocations: 99.56 kB / 474.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1461, allocations: 47.83 kB / 474.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1462, allocations: 19.98 kB / 474.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.1463, allocations: 15.88 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1464, allocations: 23.91 kB / 474.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1464, allocations: 0 / 474.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1466, allocations: 39.98 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.1466, allocations: 11.92 kB / 474.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.1466, allocations: 33.7 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1468, allocations: 59.89 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1468, allocations: 0 / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1468, allocations: 0 / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1468, allocations: 0 / 474.8 MB, free: 11.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000472/0.1473, allocations: 383.3 kB / 475.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1474, allocations: 8.562 kB / 475.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1474, allocations: 11.92 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1476, allocations: 182.9 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1476, allocations: 0 / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1476, allocations: 7.953 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1478, allocations: 67.39 kB / 475.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1478, allocations: 0 / 475.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1478, allocations: 4 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1479, allocations: 3.938 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.148, allocations: 23.98 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1484, allocations: 284.9 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1486, allocations: 42.56 kB / 475.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.1486, allocations: 24.88 kB / 475.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1487, allocations: 0 / 475.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1487, allocations: 38.56 kB / 475.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1487, allocations: 0 / 475.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005693/0.1493, allocations: 161.3 kB / 476 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1494, allocations: 81.11 kB / 476.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1495, allocations: 133.8 kB / 476.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1495, allocations: 25.7 kB / 476.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1496, allocations: 96.12 kB / 476.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1496, allocations: 15.73 kB / 476.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1496, allocations: 0 / 476.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1498, allocations: 326.8 kB / 476.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.1499, allocations: 31.92 kB / 476.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1499, allocations: 37.77 kB / 476.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.15, allocations: 27.98 kB / 476.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.15, allocations: 4 kB / 476.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.1502, allocations: 101.5 kB / 476.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1502, allocations: 4 kB / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1503, allocations: 0 / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1503, allocations: 0 / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.1503, allocations: 15.98 kB / 476.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1504, allocations: 4 kB / 476.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.1504, allocations: 4.281 kB / 476.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1504, allocations: 4 kB / 476.9 MB, free: 8.773 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.1505, allocations: 121.8 kB / 477 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1506, allocations: 7.906 kB / 477 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1508, allocations: 109.5 kB / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1508, allocations: 0 / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1508, allocations: 0 / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1508, allocations: 0 / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.1513, allocations: 362.5 kB / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1513, allocations: 3.938 kB / 477.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.1514, allocations: 15.98 kB / 477.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1514, allocations: 0 / 477.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1514, allocations: 0 / 477.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1514, allocations: 4.25 kB / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1514, allocations: 0 / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1517, allocations: 203.4 kB / 477.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1517, allocations: 85 kB / 477.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1518, allocations: 4 kB / 477.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1518, allocations: 4 kB / 477.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1519, allocations: 11.98 kB / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1519, allocations: 0 / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.447e-05/0.152, allocations: 110 kB / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.152, allocations: 0 / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1523, allocations: 19.98 kB / 478 MB, free: 7.629 MB / 350.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 (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.001022/0.1533, allocations: 455.2 kB / 478.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1535, allocations: 59.91 kB / 478.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1535, allocations: 0 / 478.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1536, allocations: 27.98 kB / 478.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1539, allocations: 23.94 kB / 478.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.1543, allocations: 198.5 kB / 478.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1546, allocations: 0.6965 MB / 479.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1547, allocations: 19.42 kB / 479.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1547, allocations: 0 / 479.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Templates: time 0.003666/0.1584, allocations: 1.567 MB / 481 MB, free: 4.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20CalcHelperMain.o] Error 1