Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008755, allocations: 91.12 kB / 17.63 MB, free: 6.133 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.001076/0.001075, allocations: 183.5 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.586/1.586, allocations: 223.3 MB / 242.5 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 61.92 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002794/0.1547, allocations: 1.673 MB / 473.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1564, allocations: 0.8893 MB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1566, allocations: 4 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1569, allocations: 35.83 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1571, allocations: 59.69 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.1576, allocations: 119.2 kB / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1579, allocations: 171.4 kB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.158, allocations: 29.66 kB / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.1583, allocations: 71.64 kB / 475.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1584, allocations: 67.67 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1584, allocations: 8 kB / 475.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1586, allocations: 36 kB / 475.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.1587, allocations: 27.84 kB / 475.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.1587, allocations: 53.62 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.159, allocations: 132 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.159, allocations: 7.875 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.159, allocations: 4 kB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.159, allocations: 0 / 475.6 MB, free: 10.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001055/0.1601, allocations: 0.5409 MB / 476.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1601, allocations: 8.562 kB / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.1602, allocations: 15.81 kB / 476.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1606, allocations: 239.6 kB / 476.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1606, allocations: 4 kB / 476.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1607, allocations: 11.98 kB / 476.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.1611, allocations: 160.1 kB / 476.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1611, allocations: 0 / 476.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1612, allocations: 11.98 kB / 476.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1612, allocations: 0 / 476.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.1617, allocations: 139.8 kB / 476.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.1625, allocations: 0.5399 MB / 477.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.1632, allocations: 182.6 kB / 477.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.1635, allocations: 88.8 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1635, allocations: 0 / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.164, allocations: 163.1 kB / 477.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.494e-06/0.164, allocations: 0 / 477.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009383/0.165, allocations: 293.2 kB / 477.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.1651, allocations: 55.41 kB / 478 MB, free: 7.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.1654, allocations: 227.1 kB / 478.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1654, allocations: 33.69 kB / 478.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1656, allocations: 120.3 kB / 478.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.1656, allocations: 39.59 kB / 478.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.1656, allocations: 7.938 kB / 478.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1658, allocations: 330.8 kB / 478.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1661, allocations: 83.88 kB / 478.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.1664, allocations: 124.8 kB / 478.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1667, allocations: 105.7 kB / 479 MB, free: 6.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1667, allocations: 0 / 479 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007066/0.1674, allocations: 279 kB / 479.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.1675, allocations: 33.7 kB / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1675, allocations: 0 / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1675, allocations: 0 / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1677, allocations: 48.09 kB / 479.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.1678, allocations: 7.984 kB / 479.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.168, allocations: 35.72 kB / 479.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.168, allocations: 15.98 kB / 479.4 MB, free: 6.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001972/0.1682, allocations: 129.8 kB / 479.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.1683, allocations: 19.8 kB / 479.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.1683, allocations: 21.39 kB / 479.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.1684, allocations: 4 kB / 479.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1684, allocations: 0 / 479.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1684, allocations: 0 / 479.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.1687, allocations: 237.5 kB / 479.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1687, allocations: 4 kB / 479.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1689, allocations: 35.91 kB / 479.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1689, allocations: 0 / 479.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1689, allocations: 8 kB / 479.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1689, allocations: 0 / 479.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1689, allocations: 0 / 479.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.1699, allocations: 344.5 kB / 480.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.17, allocations: 92.89 kB / 480.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.1701, allocations: 11.98 kB / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1702, allocations: 28.03 kB / 480.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1703, allocations: 15.98 kB / 480.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.1704, allocations: 7.984 kB / 480.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1706, allocations: 160.7 kB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1706, allocations: 0 / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1709, allocations: 35.98 kB / 480.6 MB, free: 4.914 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001119/0.172, allocations: 418.9 kB / 481 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.1727, allocations: 243.3 kB / 481.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1727, allocations: 0 / 481.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.173, allocations: 91.81 kB / 481.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1734, allocations: 55.95 kB / 481.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.1743, allocations: 379.9 kB / 481.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1747, allocations: 0.7244 MB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.1748, allocations: 27.42 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1748, allocations: 0 / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Templates: time 0.006847/0.1816, allocations: 2.756 MB / 485.2 MB, free: 348 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.CombiTimeTable.Test14CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o] Error 1