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.0007989/0.000799, allocations: 93.23 kB / 16.33 MB, free: 5.938 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.0008482/0.0008482, allocations: 180.5 kB / 17.22 MB, free: 5.863 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.501/1.501, allocations: 205.4 MB / 223.4 MB, free: 5.242 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3879/0.3879, allocations: 43.54 MB / 315.2 MB, free: 9.02 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.0005154/0.0005155, allocations: 18.66 kB / 384.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002423/0.128, allocations: 1.681 MB / 445.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1294, allocations: 0.824 MB / 445.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1296, allocations: 0 / 445.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1299, allocations: 35.84 kB / 446 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1302, allocations: 55.69 kB / 446 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1305, allocations: 107.8 kB / 446.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1308, allocations: 163.4 kB / 446.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1309, allocations: 29.66 kB / 446.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.131, allocations: 71.69 kB / 446.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1312, allocations: 71.62 kB / 446.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1312, allocations: 4 kB / 446.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1313, allocations: 43.97 kB / 446.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.1314, allocations: 27.91 kB / 446.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.1314, allocations: 61.44 kB / 446.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1317, allocations: 132 kB / 446.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1317, allocations: 0 / 446.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1317, allocations: 0 / 446.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1317, allocations: 4 kB / 446.7 MB, free: 9.711 MB / 382.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.0008458/0.1325, allocations: 0.5448 MB / 447.3 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1326, allocations: 12.02 kB / 447.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.1327, allocations: 19.81 kB / 447.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1329, allocations: 239.5 kB / 447.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.133, allocations: 4 kB / 447.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.133, allocations: 12 kB / 447.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.1334, allocations: 168 kB / 447.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1334, allocations: 3.938 kB / 447.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1334, allocations: 0 / 447.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1335, allocations: 7.953 kB / 447.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.1339, allocations: 131.9 kB / 447.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.1345, allocations: 0.5477 MB / 448.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.1351, allocations: 194.5 kB / 448.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1353, allocations: 84.8 kB / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1354, allocations: 0 / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1358, allocations: 143.3 kB / 448.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1358, allocations: 0 / 448.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008045/0.1366, allocations: 297.2 kB / 449.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1367, allocations: 55.41 kB / 449.1 MB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1369, allocations: 219.2 kB / 449.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1369, allocations: 33.7 kB / 449.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.137, allocations: 124.2 kB / 449.5 MB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.137, allocations: 35.67 kB / 449.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1371, allocations: 12 kB / 449.6 MB, free: 6.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1372, allocations: 334.8 kB / 449.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.1374, allocations: 71.94 kB / 450 MB, free: 6.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1377, allocations: 120.2 kB / 450.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1379, allocations: 113.6 kB / 450.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1379, allocations: 0 / 450.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005657/0.1385, allocations: 282.9 kB / 450.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.1385, allocations: 33.69 kB / 450.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1385, allocations: 8 kB / 450.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1386, allocations: 0 / 450.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1387, allocations: 47.91 kB / 450.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1387, allocations: 0 / 450.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1389, allocations: 39.91 kB / 450.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.139, allocations: 8 kB / 450.6 MB, free: 5.535 MB / 382.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001163/0.1391, allocations: 138.5 kB / 450.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1391, allocations: 23.72 kB / 450.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.1392, allocations: 17.41 kB / 450.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1392, allocations: 0 / 450.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1392, allocations: 0 / 450.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1392, allocations: 11.98 kB / 450.8 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.1394, allocations: 229.5 kB / 451 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1394, allocations: 3.984 kB / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1395, allocations: 35.97 kB / 451 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1395, allocations: 0 / 451 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1396, allocations: 3.938 kB / 451 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1396, allocations: 0 / 451 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1396, allocations: 4 kB / 451.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.1404, allocations: 336.7 kB / 451.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1404, allocations: 100.9 kB / 451.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1405, allocations: 4.062 kB / 451.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1406, allocations: 31.97 kB / 451.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.1407, allocations: 15.97 kB / 451.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1407, allocations: 8 kB / 451.5 MB, free: 4.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1409, allocations: 160.6 kB / 451.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1409, allocations: 0 / 451.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1411, allocations: 47.91 kB / 451.7 MB, free: 4.293 MB / 382.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 (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.0009331/0.1421, allocations: 419.2 kB / 452.2 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.1427, allocations: 243.2 kB / 452.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1427, allocations: 0 / 452.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1429, allocations: 96.06 kB / 452.5 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1432, allocations: 39.97 kB / 452.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.144, allocations: 371.7 kB / 452.9 MB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1444, allocations: 0.7322 MB / 453.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.1445, allocations: 15.44 kB / 453.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1445, allocations: 0 / 453.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of Templates: time 0.2123/0.3568, allocations: 2.768 MB / 456.4 MB, free: 45.85 MB / 382.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++ 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_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