Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0009427/0.0009427, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.519/1.519, allocations: 223.2 MB / 242.9 MB, free: 14.37 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.2489/0.2489, allocations: 44.24 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002449/0.1477, allocations: 1.382 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1494, allocations: 0.8304 MB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1495, allocations: 4 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.1499, allocations: 47.86 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1502, allocations: 59.81 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1506, allocations: 91.28 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1509, allocations: 99.67 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.1509, allocations: 8 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1511, allocations: 39.84 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1512, allocations: 47.77 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1512, allocations: 0 / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1514, allocations: 31.92 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.1515, allocations: 15.98 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.1516, allocations: 61.42 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1518, allocations: 68.12 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1518, allocations: 0 / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1518, allocations: 3.984 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1518, allocations: 4 kB / 475.7 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000595/0.1524, allocations: 391.1 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1524, allocations: 12.03 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1525, allocations: 8.844 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1528, allocations: 200.1 kB / 476.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1528, allocations: 4.375 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1528, allocations: 12.11 kB / 476.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.153, allocations: 45.69 kB / 476.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.153, allocations: 4 kB / 476.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.153, allocations: 0 / 476.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.153, allocations: 0 / 476.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.1531, allocations: 15.98 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.1533, allocations: 189.5 kB / 476.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1535, allocations: 54.55 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1536, allocations: 24.8 kB / 476.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1536, allocations: 4 kB / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1538, allocations: 67.38 kB / 476.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1538, allocations: 3.938 kB / 476.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003573/0.1542, allocations: 93.52 kB / 476.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1543, allocations: 51.41 kB / 476.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1546, allocations: 194.1 kB / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1546, allocations: 29.69 kB / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.1547, allocations: 96.14 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.1548, allocations: 15.81 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1548, allocations: 13.7 kB / 477.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.155, allocations: 322.8 kB / 477.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.1551, allocations: 12 kB / 477.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.1552, allocations: 29.7 kB / 477.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1553, allocations: 53.64 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1553, allocations: 0 / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002366/0.1556, allocations: 81.53 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1556, allocations: 8 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1556, allocations: 0 / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1556, allocations: 0 / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.1557, allocations: 11.94 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1558, allocations: 11.92 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.1558, allocations: 4.031 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1558, allocations: 4 kB / 477.7 MB, free: 8.238 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001331/0.156, allocations: 121.8 kB / 477.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.156, allocations: 11.89 kB / 477.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.1561, allocations: 12.31 kB / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1561, allocations: 0 / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1561, allocations: 0 / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1561, allocations: 4 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1563, allocations: 189.5 kB / 478 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1563, allocations: 0 / 478 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1564, allocations: 8.297 kB / 478 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1564, allocations: 0 / 478 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1564, allocations: 4 kB / 478.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1564, allocations: 4 kB / 478.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1564, allocations: 0 / 478.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1566, allocations: 116.9 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.1567, allocations: 92.95 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1568, allocations: 0 / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.1568, allocations: 11.98 kB / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1569, allocations: 0 / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1569, allocations: 4 kB / 478.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.157, allocations: 139.2 kB / 478.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.157, allocations: 0 / 478.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1573, allocations: 19.94 kB / 478.4 MB, free: 7.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001117/0.1584, allocations: 411.1 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1586, allocations: 39.92 kB / 478.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1586, allocations: 0 / 478.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.1587, allocations: 23.98 kB / 478.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.159, allocations: 23.92 kB / 478.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.1595, allocations: 246.8 kB / 479.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1598, allocations: 0.7043 MB / 479.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1599, allocations: 19.42 kB / 479.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1599, allocations: 0 / 479.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Templates: time 0.003785/0.1636, allocations: 1.669 MB / 481.6 MB, free: 4.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1