Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008842, allocations: 91.06 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.001049/0.001049, allocations: 183.9 kB / 18.52 MB, free: 5.168 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.501/1.501, allocations: 223.2 MB / 242.5 MB, free: 340 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.2228/0.2228, allocations: 44.23 MB / 337.9 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 11.94 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002187/0.1478, allocations: 1.394 MB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1492, allocations: 0.8075 MB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.1493, allocations: 0 / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1496, allocations: 47.86 kB / 474.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1498, allocations: 59.75 kB / 474.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1501, allocations: 91.58 kB / 474.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1502, allocations: 87.7 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1504, allocations: 8.219 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.1504, allocations: 39.84 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.1505, allocations: 35.78 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1506, allocations: 0 / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.1506, allocations: 31.98 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1507, allocations: 27.91 kB / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1508, allocations: 49.64 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1509, allocations: 96.08 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.151, allocations: 0 / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.151, allocations: 0 / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.151, allocations: 0 / 475 MB, free: 10.93 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.000579/0.1516, allocations: 430.6 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1516, allocations: 8.031 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.1516, allocations: 15.81 kB / 475.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1519, allocations: 211.8 kB / 475.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.152, allocations: 4 kB / 475.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.152, allocations: 4 kB / 475.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1522, allocations: 57.62 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1522, allocations: 0 / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1522, allocations: 0 / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1522, allocations: 0 / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.1523, allocations: 23.92 kB / 475.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1527, allocations: 300.8 kB / 476 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1529, allocations: 58.67 kB / 476 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1529, allocations: 20.86 kB / 476.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.153, allocations: 4 kB / 476.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1532, allocations: 71.31 kB / 476.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1532, allocations: 0 / 476.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005408/0.1537, allocations: 185.1 kB / 476.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1538, allocations: 51.41 kB / 476.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.154, allocations: 279.7 kB / 476.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1541, allocations: 25.7 kB / 476.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.1541, allocations: 116.1 kB / 476.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1542, allocations: 31.62 kB / 476.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.1542, allocations: 3.938 kB / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1543, allocations: 338.7 kB / 477.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.1544, allocations: 19.98 kB / 477.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.1545, allocations: 33.7 kB / 477.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.1545, allocations: 24 kB / 477.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1545, allocations: 0 / 477.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1547, allocations: 101.4 kB / 477.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1547, allocations: 8.031 kB / 477.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1547, allocations: 0 / 477.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1548, allocations: 4 kB / 477.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.1549, allocations: 19.92 kB / 477.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1549, allocations: 0 / 477.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1549, allocations: 8 kB / 477.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1549, allocations: 4 kB / 477.4 MB, free: 8.293 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.0001364/0.1551, allocations: 138.3 kB / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1551, allocations: 15.8 kB / 477.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1552, allocations: 21.41 kB / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1552, allocations: 4 kB / 477.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1552, allocations: 0 / 477.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1552, allocations: 0 / 477.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1556, allocations: 415.4 kB / 477.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1556, allocations: 0 / 477.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1557, allocations: 11.98 kB / 478 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1557, allocations: 32 / 478 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1557, allocations: 8 kB / 478 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1557, allocations: 0 / 478 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1557, allocations: 0 / 478 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.156, allocations: 212.1 kB / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1561, allocations: 92.91 kB / 478.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1561, allocations: 4 kB / 478.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.1562, allocations: 8 kB / 478.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1562, allocations: 7.984 kB / 478.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1562, allocations: 0 / 478.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1564, allocations: 205.5 kB / 478.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1564, allocations: 0 / 478.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1567, allocations: 28 kB / 478.5 MB, free: 7.043 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.001085/0.1578, allocations: 476.6 kB / 479 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.158, allocations: 59.89 kB / 479 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.158, allocations: 0 / 479 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.1581, allocations: 27.94 kB / 479.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1584, allocations: 36.05 kB / 479.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.1589, allocations: 332.6 kB / 479.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1593, allocations: 0.7277 MB / 480.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1593, allocations: 15.44 kB / 480.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1593, allocations: 0 / 480.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.004351/0.1637, allocations: 2.057 MB / 482.2 MB, free: 3.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.o] Error 1