Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 90.86 kB / 17.63 MB, free: 5.43 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.0009529/0.000953, allocations: 185.9 kB / 18.52 MB, free: 4.992 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.486/1.486, allocations: 223.2 MB / 242.5 MB, free: 336 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.2385/0.2385, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 14.12 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002093/0.1469, allocations: 1.298 MB / 473.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.1476, allocations: 391.5 kB / 473.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1477, allocations: 4 kB / 473.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.148, allocations: 79.81 kB / 474 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1482, allocations: 63.86 kB / 474 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1485, allocations: 75.84 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1487, allocations: 75.8 kB / 474.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1488, allocations: 23.98 kB / 474.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.1489, allocations: 27.86 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1491, allocations: 51.81 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1491, allocations: 0 / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1492, allocations: 35.98 kB / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.1493, allocations: 31.84 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.1494, allocations: 37.64 kB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1496, allocations: 87.86 kB / 474.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1496, allocations: 3.938 kB / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.1496, allocations: 0 / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1496, allocations: 0 / 474.5 MB, free: 11.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005737/0.1502, allocations: 415.1 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1502, allocations: 8.031 kB / 474.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1503, allocations: 11.91 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1505, allocations: 202.8 kB / 475.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1505, allocations: 8 kB / 475.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1506, allocations: 4 kB / 475.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1508, allocations: 81.5 kB / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1508, allocations: 0 / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1508, allocations: 0 / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1508, allocations: 0 / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.151, allocations: 43.97 kB / 475.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.1514, allocations: 332.7 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1516, allocations: 66.5 kB / 475.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.1516, allocations: 24.84 kB / 475.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1517, allocations: 4 kB / 475.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1517, allocations: 30.56 kB / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1517, allocations: 0 / 475.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.1528, allocations: 323.8 kB / 476 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1528, allocations: 63.34 kB / 476 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.1532, allocations: 235.2 kB / 476.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1532, allocations: 29.64 kB / 476.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1534, allocations: 120.1 kB / 476.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.1535, allocations: 47.3 kB / 476.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.1535, allocations: 0 / 476.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1537, allocations: 326.8 kB / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.1538, allocations: 43.98 kB / 476.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1539, allocations: 35.98 kB / 476.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.154, allocations: 43.98 kB / 476.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.154, allocations: 0 / 476.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.1543, allocations: 141.6 kB / 477 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1543, allocations: 4 kB / 477 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1544, allocations: 7.984 kB / 477.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1544, allocations: 0 / 477.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1545, allocations: 27.92 kB / 477.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1545, allocations: 4.703 kB / 477.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.1546, allocations: 15.95 kB / 477.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1546, allocations: 4 kB / 477.1 MB, free: 8.566 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 (13): * Single equations (assignments): 13 * 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.0001561/0.1548, allocations: 130.4 kB / 477.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1548, allocations: 15.81 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.1552, allocations: 186.1 kB / 477.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1552, allocations: 4 kB / 477.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1552, allocations: 0 / 477.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1552, allocations: 0 / 477.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.1558, allocations: 491.1 kB / 477.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1558, allocations: 0 / 477.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.1559, allocations: 31.92 kB / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1559, allocations: 0 / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.156, allocations: 11.95 kB / 478 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.156, allocations: 0 / 478 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.156, allocations: 0 / 478 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.1563, allocations: 236.2 kB / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.1564, allocations: 96.91 kB / 478.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1564, allocations: 4 kB / 478.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1565, allocations: 15.95 kB / 478.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1565, allocations: 7.984 kB / 478.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1565, allocations: 4 kB / 478.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1567, allocations: 175.2 kB / 478.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 3.938 kB / 478.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.157, allocations: 24 kB / 478.5 MB, free: 7.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001169/0.1581, allocations: 462.9 kB / 479 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1584, allocations: 103.9 kB / 479.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1584, allocations: 4 kB / 479.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1586, allocations: 51.98 kB / 479.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1589, allocations: 15.92 kB / 479.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.1596, allocations: 360.6 kB / 479.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.16, allocations: 0.716 MB / 480.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.1601, allocations: 23.42 kB / 480.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1601, allocations: 4 kB / 480.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of Templates: time 0.003947/0.1641, allocations: 1.971 MB / 482.2 MB, free: 3.48 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.o] Error 1