Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.0007511, allocations: 93.7 kB / 17.63 MB, free: 5.719 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.0007643/0.0007643, allocations: 178.4 kB / 18.52 MB, free: 5.172 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.47/1.47, allocations: 223.3 MB / 242.5 MB, free: 308 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.2404/0.2404, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 12.91 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002196/0.1564, allocations: 1.394 MB / 473.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1578, allocations: 0.8036 MB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1579, allocations: 0 / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1582, allocations: 35.89 kB / 474.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1584, allocations: 43.84 kB / 474.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1587, allocations: 95.77 kB / 474.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1589, allocations: 83.69 kB / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.159, allocations: 12.22 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1591, allocations: 35.84 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.1592, allocations: 35.78 kB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1592, allocations: 0 / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.1593, allocations: 28 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.1593, allocations: 19.91 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1594, allocations: 45.64 kB / 474.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1596, allocations: 80.09 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1596, allocations: 0 / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1596, allocations: 0 / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1596, allocations: 0 / 474.9 MB, free: 10.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005393/0.1601, allocations: 398.9 kB / 475.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1602, allocations: 12.03 kB / 475.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1602, allocations: 7.906 kB / 475.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1605, allocations: 210.8 kB / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1605, allocations: 4 kB / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1606, allocations: 4 kB / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1607, allocations: 61.56 kB / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1608, allocations: 0 / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1608, allocations: 0 / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1608, allocations: 0 / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.1609, allocations: 19.98 kB / 475.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.1614, allocations: 284.9 kB / 475.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1615, allocations: 66.61 kB / 475.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1616, allocations: 16.86 kB / 476 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1616, allocations: 0 / 476 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1618, allocations: 79.38 kB / 476 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1618, allocations: 0 / 476 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005694/0.1624, allocations: 165.2 kB / 476.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1625, allocations: 55.41 kB / 476.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1627, allocations: 186.2 kB / 476.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1627, allocations: 25.7 kB / 476.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1628, allocations: 104.1 kB / 476.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1628, allocations: 27.64 kB / 476.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1628, allocations: 4 kB / 476.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.163, allocations: 326.8 kB / 476.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.163, allocations: 20 kB / 476.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.1631, allocations: 41.58 kB / 477 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.1632, allocations: 20 kB / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1632, allocations: 0 / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1634, allocations: 109.5 kB / 477.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1634, allocations: 6.344 kB / 477.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1634, allocations: 0 / 477.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1634, allocations: 4 kB / 477.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1635, allocations: 19.92 kB / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1636, allocations: 0 / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1636, allocations: 4 kB / 477.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1636, allocations: 192 / 477.1 MB, free: 8.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001101/0.1637, allocations: 137.1 kB / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.1638, allocations: 15.88 kB / 477.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1638, allocations: 12.72 kB / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1638, allocations: 0 / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1638, allocations: 4 kB / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1638, allocations: 0 / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1643, allocations: 399.4 kB / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1643, allocations: 0 / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1643, allocations: 8 kB / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1643, allocations: 7.969 kB / 477.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1644, allocations: 4 kB / 477.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1644, allocations: 0 / 477.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1644, allocations: 0 / 477.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1646, allocations: 212.1 kB / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.1647, allocations: 89 kB / 478 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1647, allocations: 0 / 478 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.1648, allocations: 12 kB / 478 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1648, allocations: 7.984 kB / 478 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1649, allocations: 4 kB / 478 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.165, allocations: 143.2 kB / 478.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.165, allocations: 0 / 478.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1652, allocations: 24 kB / 478.2 MB, free: 7.355 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001178/0.1664, allocations: 478.3 kB / 478.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1666, allocations: 51.97 kB / 478.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1666, allocations: 0 / 478.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.1667, allocations: 35.92 kB / 478.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.167, allocations: 32 kB / 478.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.1675, allocations: 256.1 kB / 479 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1679, allocations: 0.7121 MB / 479.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1679, allocations: 19.38 kB / 479.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.295e-06/0.1679, allocations: 0 / 479.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Templates: time 0.003919/0.1718, allocations: 1.886 MB / 481.6 MB, free: 4.023 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.o] Error 1