Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.000832, allocations: 93.88 kB / 16.33 MB, free: 6.414 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.0008566/0.0008567, allocations: 185.7 kB / 17.22 MB, free: 6.301 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.511/1.511, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.363/0.363, allocations: 43.55 MB / 315.2 MB, free: 8.859 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.0005094/0.0005095, allocations: 16 kB / 384.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001851/0.1285, allocations: 1.31 MB / 444.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1299, allocations: 0.8986 MB / 445.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.1299, allocations: 0 / 445.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1301, allocations: 19.92 kB / 445.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1303, allocations: 39.84 kB / 445.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1306, allocations: 139.8 kB / 445.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1308, allocations: 55.78 kB / 445.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.1309, allocations: 23.91 kB / 445.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1309, allocations: 15.94 kB / 445.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.131, allocations: 31.83 kB / 445.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1311, allocations: 4 kB / 445.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.1311, allocations: 39.98 kB / 446 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.1312, allocations: 15.92 kB / 446 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1312, allocations: 29.7 kB / 446 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1313, allocations: 72.11 kB / 446.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1314, allocations: 8 kB / 446.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1314, allocations: 0 / 446.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1314, allocations: 4 kB / 446.1 MB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004585/0.1318, allocations: 379.1 kB / 446.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1319, allocations: 19.94 kB / 446.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1319, allocations: 11.86 kB / 446.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1321, allocations: 183 kB / 446.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1321, allocations: 4 kB / 446.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1322, allocations: 7.984 kB / 446.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1323, allocations: 87.31 kB / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1324, allocations: 3.938 kB / 446.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1324, allocations: 0 / 446.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.1324, allocations: 0 / 446.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1325, allocations: 55.92 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1329, allocations: 296.9 kB / 447.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1331, allocations: 54.55 kB / 447.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.1331, allocations: 32.88 kB / 447.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1332, allocations: 0 / 447.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1332, allocations: 34.56 kB / 447.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1332, allocations: 0 / 447.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007277/0.134, allocations: 269.2 kB / 447.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.134, allocations: 77.11 kB / 447.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1342, allocations: 129.8 kB / 447.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1342, allocations: 29.7 kB / 447.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.1342, allocations: 96.05 kB / 447.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1343, allocations: 23.64 kB / 447.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.1343, allocations: 4 kB / 447.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1344, allocations: 318.8 kB / 448.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1345, allocations: 43.97 kB / 448.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1346, allocations: 61.69 kB / 448.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1348, allocations: 52 kB / 448.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1348, allocations: 0 / 448.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002749/0.1351, allocations: 141.5 kB / 448.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1351, allocations: 11.95 kB / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1351, allocations: 0 / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1351, allocations: 0 / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1352, allocations: 23.98 kB / 448.5 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1352, allocations: 0 / 448.5 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.1353, allocations: 11.98 kB / 448.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1353, allocations: 7.938 kB / 448.5 MB, free: 7.68 MB / 382.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 (7): * Single equations (assignments): 7 * 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.000106/0.1354, allocations: 121.8 kB / 448.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1355, allocations: 11.89 kB / 448.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.1358, allocations: 170.2 kB / 448.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1358, allocations: 0 / 448.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1358, allocations: 0 / 448.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1358, allocations: 3.984 kB / 448.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.1364, allocations: 418.5 kB / 449.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.1364, allocations: 3.953 kB / 449.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.1365, allocations: 27.92 kB / 449.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1365, allocations: 0 / 449.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1365, allocations: 4 kB / 449.3 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1365, allocations: 3.938 kB / 449.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1365, allocations: 0 / 449.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1368, allocations: 235.4 kB / 449.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1369, allocations: 92.95 kB / 449.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1369, allocations: 4 kB / 449.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.137, allocations: 8 kB / 449.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1371, allocations: 7.984 kB / 449.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1371, allocations: 0 / 449.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.671e-05/0.1372, allocations: 111.2 kB / 449.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1372, allocations: 3.938 kB / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1374, allocations: 28 kB / 449.8 MB, free: 6.348 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0009449/0.1384, allocations: 446.4 kB / 450.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1387, allocations: 107.9 kB / 450.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1387, allocations: 0 / 450.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1388, allocations: 59.91 kB / 450.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.1391, allocations: 19.73 kB / 450.4 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.1395, allocations: 231 kB / 450.6 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1398, allocations: 0.6926 MB / 451.3 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.1398, allocations: 23.42 kB / 451.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1398, allocations: 0 / 451.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of Templates: time 0.003662/0.1435, allocations: 1.786 MB / 453.1 MB, free: 2.969 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31CalcHelperMain.o] Error 1