Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 93.38 kB / 16.67 MB, free: 6.586 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.002026/0.002026, allocations: 178.9 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2512/0.2512, allocations: 43.58 MB / 315.6 MB, free: 428 kB / 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.0006162/0.0006164, allocations: 17.3 kB / 385.2 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.0021/0.1384, allocations: 1.552 MB / 445.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1397, allocations: 0.8665 MB / 446.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.1398, allocations: 4 kB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1403, allocations: 247.4 kB / 446.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1405, allocations: 163.6 kB / 446.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1409, allocations: 139.6 kB / 447.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1411, allocations: 235.4 kB / 447.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1412, allocations: 21.55 kB / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1414, allocations: 115.5 kB / 447.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1416, allocations: 171.5 kB / 447.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1416, allocations: 4 kB / 447.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1417, allocations: 39.92 kB / 447.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.1418, allocations: 71.69 kB / 447.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.1419, allocations: 105.1 kB / 447.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.142, allocations: 159.7 kB / 448 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1421, allocations: 0 / 448 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1421, allocations: 0 / 448 MB, free: 1.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1421, allocations: 0 / 448 MB, free: 1.266 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006405/0.1427, allocations: 0.5215 MB / 448.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1428, allocations: 8.031 kB / 448.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.1428, allocations: 32.56 kB / 448.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1431, allocations: 284 kB / 448.8 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1431, allocations: 12.3 kB / 448.8 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1432, allocations: 12.12 kB / 448.8 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1434, allocations: 95.3 kB / 448.9 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1434, allocations: 0 / 448.9 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1434, allocations: 4 kB / 448.9 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1434, allocations: 3.984 kB / 448.9 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1435, allocations: 35.98 kB / 449 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.1441, allocations: 460.9 kB / 449.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.1444, allocations: 117.3 kB / 449.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.1445, allocations: 41.7 kB / 449.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1445, allocations: 0 / 449.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1448, allocations: 117.1 kB / 449.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1448, allocations: 0 / 449.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008972/0.1457, allocations: 371.6 kB / 450.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.1458, allocations: 89.05 kB / 450.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/0.1466, allocations: 477.7 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.1466, allocations: 29.7 kB / 450.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1468, allocations: 164.4 kB / 450.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.1468, allocations: 51.3 kB / 450.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.1469, allocations: 21.72 kB / 450.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1471, allocations: 346.8 kB / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.1472, allocations: 43.86 kB / 451.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1473, allocations: 78.62 kB / 451.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1475, allocations: 123.5 kB / 451.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1475, allocations: 0 / 451.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003131/0.1479, allocations: 185.2 kB / 451.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1479, allocations: 6.188 kB / 451.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1479, allocations: 0 / 451.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1479, allocations: 4 kB / 451.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1481, allocations: 32.67 kB / 451.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1481, allocations: 15.98 kB / 451.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.1482, allocations: 8 kB / 451.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1482, allocations: 7.938 kB / 451.7 MB, free: 13.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001609/0.1484, allocations: 173.7 kB / 451.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1484, allocations: 31.62 kB / 451.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.1485, allocations: 38.8 kB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1485, allocations: 4 kB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.1485, allocations: 7.938 kB / 452 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1485, allocations: 7.938 kB / 452 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/0.1494, allocations: 0.6281 MB / 452.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1494, allocations: 0 / 452.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.1495, allocations: 23.92 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1495, allocations: 0 / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1495, allocations: 4 kB / 452.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1495, allocations: 8.062 kB / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1495, allocations: 0 / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.15, allocations: 367.9 kB / 453 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/0.1501, allocations: 112.7 kB / 453.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.1502, allocations: 8 kB / 453.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1503, allocations: 11.98 kB / 453.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.1504, allocations: 15.98 kB / 453.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1504, allocations: 8 kB / 453.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.1508, allocations: 359.1 kB / 453.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1508, allocations: 0 / 453.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1511, allocations: 40 kB / 453.5 MB, free: 11.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001151/0.1523, allocations: 472.3 kB / 454 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.1526, allocations: 115.9 kB / 454.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1526, allocations: 0 / 454.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1528, allocations: 68.02 kB / 454.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1533, allocations: 61.27 kB / 454.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1544, allocations: 0.6326 MB / 454.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.1549, allocations: 0.7751 MB / 455.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.155, allocations: 27.44 kB / 455.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.155, allocations: 0 / 455.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of Templates: time 0.006174/0.1612, allocations: 3.324 MB / 459 MB, free: 5.863 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.o] Error 1