Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 90.45 kB / 17.63 MB, free: 6.16 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.001255/0.001255, allocations: 181.6 kB / 18.52 MB, free: 5.32 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.507/1.507, allocations: 223.2 MB / 242.5 MB, free: 324 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.2209/0.2209, allocations: 44.23 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8.594 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002297/0.15, allocations: 1.302 MB / 473.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.1509, allocations: 391.6 kB / 473.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.151, allocations: 0 / 473.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.1516, allocations: 435.2 kB / 474.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.1519, allocations: 247.5 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1523, allocations: 107.5 kB / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1525, allocations: 131.7 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.1526, allocations: 12.19 kB / 474.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1527, allocations: 99.73 kB / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1529, allocations: 163.7 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.153, allocations: 4 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.153, allocations: 27.92 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1531, allocations: 79.75 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1532, allocations: 65.52 kB / 475.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1534, allocations: 187.6 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1535, allocations: 4 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1535, allocations: 0 / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1535, allocations: 0 / 475.4 MB, free: 10.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007156/0.1542, allocations: 0.5874 MB / 476 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1542, allocations: 8.562 kB / 476 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.1543, allocations: 47.47 kB / 476 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1546, allocations: 271.3 kB / 476.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1546, allocations: 3.984 kB / 476.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1547, allocations: 8 kB / 476.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1548, allocations: 57.58 kB / 476.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1548, allocations: 3.984 kB / 476.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1548, allocations: 0 / 476.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1549, allocations: 4 kB / 476.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.155, allocations: 27.97 kB / 476.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.1554, allocations: 384.7 kB / 476.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1557, allocations: 50.5 kB / 476.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1557, allocations: 16.94 kB / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1557, allocations: 0 / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1558, allocations: 38.56 kB / 476.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1558, allocations: 0 / 476.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006035/0.1564, allocations: 236.1 kB / 477.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1564, allocations: 51.41 kB / 477.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.1573, allocations: 0.8651 MB / 478 MB, free: 7.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1573, allocations: 25.7 kB / 478.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1575, allocations: 216.1 kB / 478.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1575, allocations: 11.81 kB / 478.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.1576, allocations: 4 kB / 478.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1577, allocations: 366.7 kB / 478.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.1578, allocations: 23.98 kB / 478.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1579, allocations: 23.98 kB / 478.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.158, allocations: 23.98 kB / 478.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.158, allocations: 0 / 478.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1582, allocations: 129 kB / 478.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1582, allocations: 4 kB / 478.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1582, allocations: 0 / 478.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1582, allocations: 4 kB / 478.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.1583, allocations: 15.98 kB / 478.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1583, allocations: 0 / 478.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1584, allocations: 8 kB / 478.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1584, allocations: 0 / 478.9 MB, free: 6.777 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.0002288/0.1586, allocations: 217.7 kB / 479.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1587, allocations: 39.53 kB / 479.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.159, allocations: 141 kB / 479.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.159, allocations: 0 / 479.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.159, allocations: 0 / 479.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.159, allocations: 4.297 kB / 479.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.1596, allocations: 470.4 kB / 479.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1596, allocations: 3.938 kB / 479.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.1596, allocations: 19.92 kB / 479.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1597, allocations: 0 / 479.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1597, allocations: 4 kB / 479.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1597, allocations: 0 / 479.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1597, allocations: 0 / 479.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.16, allocations: 223 kB / 480 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.1601, allocations: 108.5 kB / 480.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1601, allocations: 4 kB / 480.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1602, allocations: 7.984 kB / 480.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1602, allocations: 4.281 kB / 480.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1602, allocations: 8 kB / 480.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006429/0.1609, allocations: 0.6472 MB / 480.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1609, allocations: 0 / 480.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1612, allocations: 20 kB / 480.8 MB, free: 4.773 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.0009573/0.1621, allocations: 426.3 kB / 481.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1623, allocations: 55.97 kB / 481.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1623, allocations: 0 / 481.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.1624, allocations: 27.98 kB / 481.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1628, allocations: 25.91 kB / 481.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1639, allocations: 0.8546 MB / 482.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1644, allocations: 0.8223 MB / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1644, allocations: 15.44 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of SimCode: time 1.562e-06/0.1644, allocations: 0 / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of Templates: time 0.008001/0.1724, allocations: 3.59 MB / 486.6 MB, free: 15.06 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5CalcHelperMain.o] Error 1