Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001644/0.001645, allocations: 106.2 kB / 16.52 MB, free: 6.723 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.001598/0.001598, allocations: 191.7 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.277/0.277, allocations: 43.52 MB / 314.1 MB, free: 0.7461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.92 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1513, allocations: 57.8 MB / 440.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003864/0.1552, allocations: 2.048 MB / 442.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1567, allocations: 0.8857 MB / 443.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1568, allocations: 4 kB / 443.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1572, allocations: 43.83 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1574, allocations: 59.67 kB / 443.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1577, allocations: 111.4 kB / 443.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.158, allocations: 183.4 kB / 443.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1581, allocations: 33.89 kB / 443.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1583, allocations: 75.62 kB / 443.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1584, allocations: 71.62 kB / 444 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1584, allocations: 4 kB / 444 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1585, allocations: 51.97 kB / 444 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.1586, allocations: 31.84 kB / 444.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1587, allocations: 71.52 kB / 444.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1589, allocations: 135.8 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.159, allocations: 0 / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.159, allocations: 0 / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.159, allocations: 7.938 kB / 444.3 MB, free: 3.637 MB / 318.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.0009733/0.16, allocations: 0.5481 MB / 444.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.16, allocations: 12.03 kB / 444.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.1601, allocations: 16.75 kB / 444.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1604, allocations: 248.7 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1604, allocations: 8.312 kB / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.1604, allocations: 20.12 kB / 445.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.1608, allocations: 152 kB / 445.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1609, allocations: 0 / 445.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1609, allocations: 4 kB / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1609, allocations: 0 / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.1613, allocations: 119.8 kB / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.1619, allocations: 0.5399 MB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.1626, allocations: 158.6 kB / 446.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.1628, allocations: 76.8 kB / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1628, allocations: 4 kB / 446.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.1633, allocations: 131.2 kB / 446.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1633, allocations: 0 / 446.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008165/0.1641, allocations: 261.2 kB / 446.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1642, allocations: 63.33 kB / 446.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1643, allocations: 215.2 kB / 446.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1644, allocations: 33.7 kB / 446.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1644, allocations: 136.4 kB / 447 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1645, allocations: 27.56 kB / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1645, allocations: 41.61 kB / 447.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.1646, allocations: 334.8 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1648, allocations: 63.94 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.1651, allocations: 113 kB / 447.6 MB, free: 96 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.1656, allocations: 193.8 kB / 447.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1656, allocations: 0 / 447.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006325/0.1662, allocations: 251 kB / 448 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1663, allocations: 33.7 kB / 448 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1663, allocations: 0 / 448 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1663, allocations: 4 kB / 448 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1665, allocations: 43.89 kB / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1665, allocations: 4 kB / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1667, allocations: 23.89 kB / 448.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1668, allocations: 11.98 kB / 448.1 MB, free: 15.5 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.1669, allocations: 139.1 kB / 448.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.167, allocations: 15.81 kB / 448.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.1671, allocations: 25.39 kB / 448.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1671, allocations: 3.938 kB / 448.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1671, allocations: 0 / 448.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1671, allocations: 0 / 448.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1674, allocations: 245.3 kB / 448.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1674, allocations: 0 / 448.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1675, allocations: 27.95 kB / 448.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1675, allocations: 7.938 kB / 448.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1676, allocations: 8 kB / 448.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1676, allocations: 3.938 kB / 448.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1676, allocations: 0 / 448.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.1685, allocations: 300.7 kB / 448.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1686, allocations: 88.95 kB / 449 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1686, allocations: 8 kB / 449 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1688, allocations: 19.91 kB / 449 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.1689, allocations: 23.91 kB / 449 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1689, allocations: 4 kB / 449 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1691, allocations: 172.7 kB / 449.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1691, allocations: 0 / 449.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1693, allocations: 40 kB / 449.2 MB, free: 14.3 MB / 334.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 (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.001042/0.1704, allocations: 415.4 kB / 449.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.171, allocations: 223.2 kB / 449.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1711, allocations: 4 kB / 449.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.1713, allocations: 75.94 kB / 449.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1717, allocations: 35.97 kB / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.1725, allocations: 391.6 kB / 450.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.173, allocations: 0.7283 MB / 451.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.1731, allocations: 19.44 kB / 451.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1731, allocations: 0 / 451.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of Templates: time 0.006458/0.1795, allocations: 2.79 MB / 453.9 MB, free: 9.656 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o] Error 1