Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 93.05 kB / 16.33 MB, free: 5.938 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.0008806/0.0008806, allocations: 181.4 kB / 17.22 MB, free: 5.859 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.489/1.489, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.2082/0.2082, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.0005367/0.0005368, allocations: 17.38 kB / 384.5 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.86 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001633/0.126, allocations: 1.262 MB / 444.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.1265, allocations: 287.8 kB / 444.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1266, allocations: 0 / 444.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1268, allocations: 23.91 kB / 445 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1269, allocations: 31.91 kB / 445 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1271, allocations: 55.25 kB / 445.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1272, allocations: 51.84 kB / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.1273, allocations: 7.984 kB / 445.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.1274, allocations: 15.94 kB / 445.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.1274, allocations: 23.84 kB / 445.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1274, allocations: 4 kB / 445.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.1275, allocations: 27.98 kB / 445.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1276, allocations: 4 kB / 445.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1276, allocations: 37.64 kB / 445.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.549e-05/0.1277, allocations: 59.84 kB / 445.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1277, allocations: 0 / 445.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1277, allocations: 0 / 445.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1277, allocations: 0 / 445.3 MB, free: 3.883 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.0003561/0.1281, allocations: 371.1 kB / 445.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1281, allocations: 12.02 kB / 445.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1281, allocations: 11.86 kB / 445.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1283, allocations: 187 kB / 445.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1283, allocations: 0 / 445.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1283, allocations: 4 kB / 445.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1284, allocations: 53.69 kB / 445.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1285, allocations: 3.906 kB / 445.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1285, allocations: 0 / 445.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1285, allocations: 4 kB / 445.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.1286, allocations: 27.97 kB / 445.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.1288, allocations: 276.8 kB / 446.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.129, allocations: 46.55 kB / 446.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.1291, allocations: 16.86 kB / 446.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1291, allocations: 4 kB / 446.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1291, allocations: 30.56 kB / 446.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.053e-06/0.1292, allocations: 0 / 446.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004541/0.1296, allocations: 161.3 kB / 446.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1296, allocations: 55.34 kB / 446.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1298, allocations: 160.2 kB / 446.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.1298, allocations: 25.7 kB / 446.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1298, allocations: 100.1 kB / 446.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.1298, allocations: 15.75 kB / 446.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1298, allocations: 0 / 446.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.1299, allocations: 326.8 kB / 447.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.13, allocations: 15.98 kB / 447.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.13, allocations: 27.98 kB / 447.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.1301, allocations: 23.98 kB / 447.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1301, allocations: 0 / 447.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001364/0.1302, allocations: 85.58 kB / 447.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1303, allocations: 4 kB / 447.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1303, allocations: 4 kB / 447.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1303, allocations: 7.953 kB / 447.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.1304, allocations: 11.98 kB / 447.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1304, allocations: 4 kB / 447.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.1304, allocations: 4.281 kB / 447.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1304, allocations: 0 / 447.3 MB, free: 1.629 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.1305, allocations: 125.8 kB / 447.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1305, allocations: 7.906 kB / 447.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1307, allocations: 106.2 kB / 447.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1307, allocations: 0 / 447.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1307, allocations: 3.953 kB / 447.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1307, allocations: 4 kB / 447.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.131, allocations: 358.4 kB / 447.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.131, allocations: 0 / 447.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.1311, allocations: 15.98 kB / 447.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1311, allocations: 0 / 447.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1311, allocations: 3.953 kB / 447.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1311, allocations: 8 kB / 447.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1311, allocations: 0 / 447.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1313, allocations: 179.4 kB / 448.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.1313, allocations: 89.09 kB / 448.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1314, allocations: 7.938 kB / 448.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.1314, allocations: 7.953 kB / 448.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1315, allocations: 7.984 kB / 448.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1315, allocations: 0 / 448.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.42e-05/0.1315, allocations: 127.2 kB / 448.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1315, allocations: 0 / 448.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1318, allocations: 12 kB / 448.4 MB, free: 496 kB / 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 (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.0008217/0.1326, allocations: 411.9 kB / 448.8 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1328, allocations: 51.97 kB / 448.8 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1328, allocations: 0 / 448.8 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.1328, allocations: 27.92 kB / 448.8 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1332, allocations: 19.98 kB / 448.9 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1336, allocations: 210.6 kB / 449.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1339, allocations: 0.6926 MB / 449.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.1339, allocations: 19.42 kB / 449.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1339, allocations: 0 / 449.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.0031/0.137, allocations: 1.358 MB / 451.1 MB, free: 13.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.o] Error 1