Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008486, allocations: 88.14 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.0008565/0.0008565, allocations: 181.3 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.489/1.489, allocations: 223.2 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.2343/0.2343, allocations: 44.21 MB / 337.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 15.98 kB / 410.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 61.93 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002399/0.1479, allocations: 1.422 MB / 473.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1493, allocations: 0.8075 MB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.1494, allocations: 3.938 kB / 474.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1497, allocations: 107.8 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.15, allocations: 71.78 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1503, allocations: 91.77 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1505, allocations: 107.7 kB / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1506, allocations: 23.92 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1507, allocations: 59.75 kB / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1509, allocations: 55.81 kB / 474.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1509, allocations: 0 / 474.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.151, allocations: 51.98 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1511, allocations: 23.92 kB / 475 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1511, allocations: 45.58 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1513, allocations: 116 kB / 475.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1513, allocations: 4 kB / 475.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1513, allocations: 0 / 475.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1513, allocations: 4 kB / 475.2 MB, free: 10.69 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006161/0.152, allocations: 428.9 kB / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.152, allocations: 8.562 kB / 475.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1521, allocations: 15.81 kB / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1523, allocations: 214.7 kB / 475.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1524, allocations: 11.94 kB / 475.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1524, allocations: 7.938 kB / 475.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1526, allocations: 81.59 kB / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1526, allocations: 0 / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1526, allocations: 0 / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1526, allocations: 0 / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.1527, allocations: 39.91 kB / 476 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1532, allocations: 340.6 kB / 476.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1534, allocations: 74.55 kB / 476.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.1535, allocations: 32.84 kB / 476.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1536, allocations: 0 / 476.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1538, allocations: 83.31 kB / 476.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1538, allocations: 0 / 476.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008137/0.1546, allocations: 289 kB / 476.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1547, allocations: 55.41 kB / 476.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1549, allocations: 246.5 kB / 477.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.155, allocations: 33.7 kB / 477.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.155, allocations: 120 kB / 477.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1551, allocations: 39.59 kB / 477.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.1551, allocations: 8.844 kB / 477.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1553, allocations: 334.8 kB / 477.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-05/0.1554, allocations: 35.98 kB / 477.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.1554, allocations: 53.7 kB / 477.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.1555, allocations: 46.88 kB / 477.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1556, allocations: 0 / 477.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002509/0.1558, allocations: 169.3 kB / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1558, allocations: 4 kB / 477.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1558, allocations: 0 / 477.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1559, allocations: 3.938 kB / 477.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.156, allocations: 32.02 kB / 477.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.156, allocations: 0 / 477.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.156, allocations: 4 kB / 477.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.156, allocations: 8 kB / 477.9 MB, free: 7.699 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 (16): * Single equations (assignments): 16 * 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.0001331/0.1562, allocations: 141.7 kB / 478.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1562, allocations: 15.81 kB / 478.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.1563, allocations: 25.52 kB / 478.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1563, allocations: 0 / 478.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1563, allocations: 112 / 478.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1563, allocations: 11.94 kB / 478.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.1569, allocations: 496 kB / 478.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1569, allocations: 7.938 kB / 478.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.157, allocations: 19.98 kB / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.157, allocations: 0 / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.157, allocations: 12.06 kB / 478.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.157, allocations: 3.953 kB / 478.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.157, allocations: 0 / 478.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1573, allocations: 257 kB / 478.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1574, allocations: 92.91 kB / 479 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1574, allocations: 8 kB / 479 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1575, allocations: 4 kB / 479 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1575, allocations: 23.88 kB / 479 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1576, allocations: 7.984 kB / 479 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1577, allocations: 187 kB / 479.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1577, allocations: 0 / 479.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.158, allocations: 35.91 kB / 479.3 MB, free: 6.262 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: 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 (14): * Single equations (assignments): 12 * 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.001212/0.1592, allocations: 0.5198 MB / 479.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1595, allocations: 107.8 kB / 479.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1595, allocations: 0 / 479.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1596, allocations: 51.92 kB / 479.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.16, allocations: 28.16 kB / 480 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.1606, allocations: 377.7 kB / 480.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1609, allocations: 0.7243 MB / 481.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.161, allocations: 23.42 kB / 481.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.161, allocations: 0 / 481.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of Templates: time 0.004529/0.1655, allocations: 2.448 MB / 483.5 MB, free: 2.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test5CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.o] Error 1