Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.000864, allocations: 86.02 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.0009793/0.0009787, allocations: 184.1 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.569/1.569, allocations: 223.3 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.2193/0.2193, allocations: 44.22 MB / 337.9 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002462/0.1579, allocations: 1.575 MB / 473.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1594, allocations: 0.8426 MB / 474.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1595, allocations: 3.938 kB / 474.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1599, allocations: 39.83 kB / 474.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1601, allocations: 47.77 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1604, allocations: 103.8 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1606, allocations: 119.6 kB / 474.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1607, allocations: 21.48 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.1608, allocations: 55.7 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.1609, allocations: 43.72 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1609, allocations: 0 / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1611, allocations: 39.98 kB / 475.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1611, allocations: 19.91 kB / 475.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1612, allocations: 49.64 kB / 475.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1614, allocations: 100 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1614, allocations: 0 / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1614, allocations: 0 / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1614, allocations: 0 / 475.2 MB, free: 10.68 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006585/0.1621, allocations: 458.7 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1621, allocations: 15.97 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.1622, allocations: 15.81 kB / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1624, allocations: 210.9 kB / 475.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1625, allocations: 8 kB / 475.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1625, allocations: 7.938 kB / 475.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1628, allocations: 116.1 kB / 476.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1628, allocations: 0 / 476.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1628, allocations: 4 kB / 476.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1628, allocations: 4 kB / 476.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.163, allocations: 59.89 kB / 476.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.1636, allocations: 0.5048 MB / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.164, allocations: 94.59 kB / 476.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1641, allocations: 36.84 kB / 476.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1641, allocations: 8 kB / 476.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.1644, allocations: 79.38 kB / 476.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1644, allocations: 0 / 476.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004351/0.1648, allocations: 153.5 kB / 477 MB, free: 8.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1649, allocations: 51.41 kB / 477 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1651, allocations: 195.3 kB / 477.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1651, allocations: 29.69 kB / 477.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.1652, allocations: 112 kB / 477.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1652, allocations: 27.64 kB / 477.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.1652, allocations: 4 kB / 477.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1654, allocations: 330.8 kB / 477.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1655, allocations: 35.98 kB / 477.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1656, allocations: 60.28 kB / 477.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.249e-05/0.1657, allocations: 36.36 kB / 477.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1657, allocations: 0 / 477.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002595/0.166, allocations: 145.3 kB / 478 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.166, allocations: 4 kB / 478 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.166, allocations: 7.938 kB / 478 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.166, allocations: 0 / 478 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1661, allocations: 32.11 kB / 478 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1662, allocations: 4 kB / 478 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.1662, allocations: 23.77 kB / 478.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1662, allocations: 4 kB / 478.1 MB, free: 7.582 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: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (14): * Single equations (assignments): 14 * 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.0001161/0.1664, allocations: 132.8 kB / 478.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1664, allocations: 15.81 kB / 478.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1664, allocations: 17.39 kB / 478.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1665, allocations: 0 / 478.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1665, allocations: 8 kB / 478.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1665, allocations: 0 / 478.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1667, allocations: 209.6 kB / 478.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1667, allocations: 0 / 478.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.1668, allocations: 11.98 kB / 478.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1668, allocations: 4 kB / 478.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1668, allocations: 0 / 478.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1668, allocations: 0 / 478.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1668, allocations: 0 / 478.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.1672, allocations: 192.8 kB / 478.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1672, allocations: 92.97 kB / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1673, allocations: 4 kB / 478.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.1673, allocations: 8 kB / 478.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1674, allocations: 12.05 kB / 478.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1674, allocations: 4 kB / 478.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1675, allocations: 141.1 kB / 478.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1675, allocations: 192 / 478.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1678, allocations: 27.91 kB / 478.9 MB, free: 6.629 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009616/0.1687, allocations: 422 kB / 479.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.169, allocations: 83.97 kB / 479.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.169, allocations: 0 / 479.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.1691, allocations: 44.05 kB / 479.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1694, allocations: 39.86 kB / 479.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.17, allocations: 316.1 kB / 479.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1704, allocations: 0.7165 MB / 480.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1704, allocations: 15.44 kB / 480.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1704, allocations: 0 / 480.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of Templates: time 0.004388/0.1748, allocations: 2.134 MB / 482.7 MB, free: 2.977 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.o] Error 1