Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 98.62 kB / 18.01 MB, free: 5.738 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.001566/0.001567, allocations: 180 kB / 18.91 MB, free: 4.871 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.548/1.548, allocations: 223.2 MB / 242.9 MB, free: 220 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.2516/0.2516, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002126/0.1312, allocations: 1.27 MB / 474.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.132, allocations: 395.4 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.1321, allocations: 0 / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.1323, allocations: 19.92 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1325, allocations: 31.91 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1328, allocations: 78.97 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1329, allocations: 59.78 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.133, allocations: 7.984 kB / 474.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.133, allocations: 15.94 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.1331, allocations: 27.84 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1331, allocations: 0 / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.1332, allocations: 24 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.1332, allocations: 11.92 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.1333, allocations: 45.52 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1334, allocations: 59.91 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1334, allocations: 0 / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1334, allocations: 0 / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1334, allocations: 3.938 kB / 474.9 MB, free: 11.28 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.0004248/0.1339, allocations: 374 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1339, allocations: 8.031 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.134, allocations: 8.844 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1341, allocations: 190.8 kB / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1342, allocations: 384 / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1342, allocations: 8.375 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1343, allocations: 53.75 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1343, allocations: 7.844 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1344, allocations: 4 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1344, allocations: 0 / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1345, allocations: 35.95 kB / 475.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1348, allocations: 268.9 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.135, allocations: 50.59 kB / 475.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.1351, allocations: 20.84 kB / 475.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1351, allocations: 0 / 475.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1351, allocations: 30.56 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1351, allocations: 0 / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005728/0.1357, allocations: 161.2 kB / 476.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1357, allocations: 51.41 kB / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1359, allocations: 153.8 kB / 476.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1359, allocations: 29.7 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.136, allocations: 96.12 kB / 476.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.136, allocations: 15.81 kB / 476.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.136, allocations: 9.719 kB / 476.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1361, allocations: 330.7 kB / 476.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.1362, allocations: 19.98 kB / 476.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1363, allocations: 27.98 kB / 476.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1364, allocations: 44.84 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1364, allocations: 3.984 kB / 476.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001815/0.1366, allocations: 93.52 kB / 477 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1367, allocations: 4 kB / 477 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1367, allocations: 0 / 477 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1367, allocations: 4 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.1367, allocations: 15.98 kB / 477 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1368, allocations: 4 kB / 477 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.1368, allocations: 4 kB / 477 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1368, allocations: 7.938 kB / 477 MB, free: 8.969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1369, allocations: 122.3 kB / 477.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.137, allocations: 7.891 kB / 477.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.1372, allocations: 97.91 kB / 477.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1372, allocations: 4 kB / 477.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1372, allocations: 0 / 477.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1372, allocations: 4 kB / 477.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.1377, allocations: 350.8 kB / 477.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1377, allocations: 4.062 kB / 477.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1378, allocations: 23.92 kB / 477.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1378, allocations: 0 / 477.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1378, allocations: 4 kB / 477.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1378, allocations: 7.875 kB / 477.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1378, allocations: 0 / 477.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.138, allocations: 183.4 kB / 477.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1381, allocations: 89 kB / 477.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1381, allocations: 0 / 477.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1382, allocations: 11.94 kB / 477.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1382, allocations: 3.984 kB / 477.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1382, allocations: 4 kB / 477.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1384, allocations: 121.3 kB / 478 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1384, allocations: 0 / 478 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1386, allocations: 19.91 kB / 478.1 MB, free: 7.828 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 (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.001093/0.1397, allocations: 403.2 kB / 478.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1399, allocations: 55.91 kB / 478.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.14, allocations: 4 kB / 478.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.14, allocations: 27.98 kB / 478.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1404, allocations: 15.98 kB / 478.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1409, allocations: 230.3 kB / 478.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1412, allocations: 0.6926 MB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.1412, allocations: 11.44 kB / 479.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1412, allocations: 3.938 kB / 479.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Templates: time 0.003363/0.1446, allocations: 1.368 MB / 480.9 MB, free: 5.125 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.o] Error 1