Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 96.72 kB / 18.01 MB, free: 5.734 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.001388/0.001388, allocations: 179.3 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.502/1.502, 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.2498/0.2498, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002508/0.1476, allocations: 1.348 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.1486, allocations: 443.2 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.1486, allocations: 4 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.1494, allocations: 459.1 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.1498, allocations: 239.5 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.1503, allocations: 162 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1505, allocations: 171.6 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1507, allocations: 23.98 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1508, allocations: 99.8 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1511, allocations: 207.5 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1511, allocations: 0 / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1513, allocations: 43.97 kB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1514, allocations: 83.62 kB / 476.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1515, allocations: 128.7 kB / 476.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1518, allocations: 200 kB / 476.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1518, allocations: 0 / 476.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1518, allocations: 0 / 476.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1518, allocations: 0 / 476.5 MB, free: 9.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008066/0.1526, allocations: 0.6013 MB / 477.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1527, allocations: 12.03 kB / 477.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.1528, allocations: 40.38 kB / 477.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1531, allocations: 304.1 kB / 477.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1531, allocations: 4.375 kB / 477.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1531, allocations: 4.375 kB / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1534, allocations: 77.73 kB / 477.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1534, allocations: 0 / 477.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1534, allocations: 0 / 477.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1534, allocations: 0 / 477.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1536, allocations: 59.95 kB / 477.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.1542, allocations: 412.6 kB / 478 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1545, allocations: 66.55 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1546, allocations: 28.97 kB / 478.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1546, allocations: 0 / 478.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1547, allocations: 46.59 kB / 478.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1547, allocations: 3.938 kB / 478.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001704/0.1564, allocations: 0.5664 MB / 478.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1564, allocations: 55.34 kB / 478.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.1573, allocations: 0.8574 MB / 479.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1573, allocations: 25.7 kB / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1575, allocations: 215.9 kB / 479.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.1575, allocations: 39.45 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1576, allocations: 13.72 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1578, allocations: 362.8 kB / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1579, allocations: 67.89 kB / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1581, allocations: 59.97 kB / 480.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1584, allocations: 140.7 kB / 480.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1584, allocations: 4 kB / 480.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004139/0.1588, allocations: 213 kB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1589, allocations: 8 kB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1589, allocations: 0 / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1589, allocations: 0 / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.159, allocations: 39.92 kB / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.159, allocations: 0 / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.1591, allocations: 11.98 kB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1591, allocations: 4 kB / 480.8 MB, free: 5.215 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 (11): * Single equations (assignments): 11 * 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.0002262/0.1594, allocations: 226.2 kB / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.1594, allocations: 47.44 kB / 481 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.16, allocations: 237.4 kB / 481.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.16, allocations: 11.94 kB / 481.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.16, allocations: 0 / 481.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.16, allocations: 3.984 kB / 481.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1611, allocations: 0.6092 MB / 481.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1611, allocations: 4 kB / 481.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1612, allocations: 35.92 kB / 481.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1612, allocations: 0 / 481.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1613, allocations: 4.062 kB / 481.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.1613, allocations: 7.984 kB / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1613, allocations: 0 / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.1618, allocations: 312.7 kB / 482.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.1619, allocations: 120.7 kB / 482.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1619, allocations: 8 kB / 482.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.162, allocations: 15.98 kB / 482.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.1621, allocations: 15.92 kB / 482.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1621, allocations: 8 kB / 482.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007464/0.1629, allocations: 0.6394 MB / 483.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 0 / 483.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1632, allocations: 32 kB / 483.1 MB, free: 2.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001192/0.1644, allocations: 452.2 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.1648, allocations: 147.8 kB / 483.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1648, allocations: 0 / 483.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.1649, allocations: 75.89 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1654, allocations: 42 kB / 483.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1669, allocations: 0.993 MB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1674, allocations: 0.834 MB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1675, allocations: 23.44 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1675, allocations: 0 / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of Templates: time 0.008047/0.1755, allocations: 4.086 MB / 489.7 MB, free: 12.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3CalcHelperMain.o] Error 1