Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 87.03 kB / 17.63 MB, free: 6.137 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.001328/0.001328, allocations: 185.2 kB / 18.52 MB, free: 5.297 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.53/1.53, allocations: 223.2 MB / 242.5 MB, free: 352 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.2344/0.2344, allocations: 44.22 MB / 337.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002253/0.1496, allocations: 1.266 MB / 473.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.1503, allocations: 363.7 kB / 473.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.1504, allocations: 0 / 473.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.1506, allocations: 23.91 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1508, allocations: 27.86 kB / 473.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.151, allocations: 71.84 kB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1512, allocations: 51.84 kB / 474 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1513, allocations: 8 kB / 474 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.1514, allocations: 19.91 kB / 474 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.1514, allocations: 19.86 kB / 474 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1515, allocations: 4 kB / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.1515, allocations: 24 kB / 474 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1516, allocations: 7.984 kB / 474.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1516, allocations: 33.64 kB / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1518, allocations: 51.91 kB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1518, allocations: 4 kB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1518, allocations: 0 / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1518, allocations: 0 / 474.1 MB, free: 11.77 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.0004899/0.1523, allocations: 367.4 kB / 474.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1523, allocations: 12.56 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1524, allocations: 11.83 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1526, allocations: 186 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1526, allocations: 4 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1526, allocations: 3.953 kB / 474.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1528, allocations: 45.69 kB / 474.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1528, allocations: 4 kB / 474.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1528, allocations: 4 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1528, allocations: 7.984 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.209e-05/0.1529, allocations: 23.98 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1533, allocations: 268.8 kB / 475.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1535, allocations: 54.55 kB / 475.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.1536, allocations: 12.86 kB / 475.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1536, allocations: 0 / 475.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1537, allocations: 34.56 kB / 475.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1537, allocations: 0 / 475.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005864/0.1542, allocations: 153.4 kB / 475.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1543, allocations: 59.39 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1545, allocations: 142.1 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1545, allocations: 25.7 kB / 475.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1545, allocations: 96.05 kB / 475.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1546, allocations: 15.78 kB / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1546, allocations: 0 / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1547, allocations: 322.8 kB / 476 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.1548, allocations: 19.98 kB / 476 MB, free: 9.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.1549, allocations: 31.92 kB / 476 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.1549, allocations: 23.98 kB / 476 MB, free: 9.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1549, allocations: 0 / 476 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001709/0.1551, allocations: 89.77 kB / 476.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1551, allocations: 4 kB / 476.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1551, allocations: 0 / 476.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1552, allocations: 4 kB / 476.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.1552, allocations: 19.98 kB / 476.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1553, allocations: 0 / 476.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1553, allocations: 7.984 kB / 476.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1553, allocations: 3.938 kB / 476.2 MB, free: 9.535 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 0.0001076/0.1554, allocations: 129.7 kB / 476.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1555, allocations: 7.906 kB / 476.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1557, allocations: 93.97 kB / 476.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1557, allocations: 288 / 476.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1557, allocations: 4 kB / 476.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1557, allocations: 3.938 kB / 476.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1562, allocations: 354.5 kB / 476.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1562, allocations: 3.984 kB / 476.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1562, allocations: 19.98 kB / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1562, allocations: 0 / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1563, allocations: 0 / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1563, allocations: 0 / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1563, allocations: 0 / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1565, allocations: 191.4 kB / 476.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1566, allocations: 81.02 kB / 477 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1566, allocations: 4.25 kB / 477 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.1567, allocations: 15.98 kB / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.1567, allocations: 3.938 kB / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1568, allocations: 4 kB / 477.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.1568, allocations: 111.2 kB / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1569, allocations: 0 / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1571, allocations: 16 kB / 477.2 MB, free: 8.406 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.0009874/0.1581, allocations: 409.9 kB / 477.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1583, allocations: 51.97 kB / 477.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1583, allocations: 0 / 477.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.1584, allocations: 31.92 kB / 477.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1587, allocations: 19.94 kB / 477.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.1591, allocations: 198.4 kB / 477.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1595, allocations: 0.6965 MB / 478.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1595, allocations: 11.44 kB / 478.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1595, allocations: 0 / 478.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Templates: time 0.003395/0.1629, allocations: 1.349 MB / 479.9 MB, free: 5.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.o] Error 1