Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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.001082/0.001082, allocations: 91.03 kB / 16.67 MB, free: 6.582 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.001304/0.001305, allocations: 179.2 kB / 17.57 MB, free: 6.18 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.031/2.031, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2761/0.2761, allocations: 43.59 MB / 315.6 MB, free: 432 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.0005739/0.0005741, allocations: 28.98 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1416, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00214/0.1438, allocations: 1.376 MB / 445.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1449, allocations: 0.7504 MB / 446.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.145, allocations: 0 / 446.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1454, allocations: 55.8 kB / 446.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1455, allocations: 63.81 kB / 446.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1458, allocations: 79.77 kB / 446.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1459, allocations: 91.7 kB / 446.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.146, allocations: 7.938 kB / 446.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.1461, allocations: 47.77 kB / 446.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.1462, allocations: 35.84 kB / 446.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1462, allocations: 0 / 446.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.1463, allocations: 39.91 kB / 446.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1464, allocations: 19.92 kB / 446.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1464, allocations: 53.52 kB / 446.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1466, allocations: 75.81 kB / 446.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1466, allocations: 0 / 446.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1466, allocations: 0 / 446.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1466, allocations: 0 / 446.8 MB, free: 2.469 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004861/0.1471, allocations: 391.1 kB / 447.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1472, allocations: 8.031 kB / 447.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1472, allocations: 8.844 kB / 447.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1474, allocations: 213.1 kB / 447.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1474, allocations: 384 / 447.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1474, allocations: 4.125 kB / 447.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1476, allocations: 49.69 kB / 447.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1476, allocations: 0 / 447.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1476, allocations: 3.984 kB / 447.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1476, allocations: 0 / 447.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.1477, allocations: 12 kB / 447.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.1479, allocations: 177.7 kB / 447.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.148, allocations: 58.55 kB / 447.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1481, allocations: 28.77 kB / 447.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1481, allocations: 4 kB / 447.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1483, allocations: 63.39 kB / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.1483, allocations: 4 kB / 447.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002783/0.1486, allocations: 97.52 kB / 447.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1487, allocations: 59.34 kB / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1488, allocations: 190 kB / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1488, allocations: 29.7 kB / 448.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1489, allocations: 96.14 kB / 448.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1489, allocations: 15.88 kB / 448.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.149, allocations: 13.72 kB / 448.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.149, allocations: 326.8 kB / 448.6 MB, free: 448 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.1491, allocations: 12 kB / 448.6 MB, free: 436 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.1491, allocations: 33.69 kB / 448.6 MB, free: 396 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.1492, allocations: 45.64 kB / 448.7 MB, free: 344 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1492, allocations: 0 / 448.7 MB, free: 344 kB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001224/0.1494, allocations: 81.47 kB / 448.8 MB, free: 256 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1494, allocations: 14.22 kB / 448.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1494, allocations: 0 / 448.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1494, allocations: 0 / 448.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.1495, allocations: 19.92 kB / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1495, allocations: 4 kB / 448.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.1496, allocations: 7.844 kB / 448.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1496, allocations: 4 kB / 448.8 MB, free: 208 kB / 318.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 8.514e-05/0.1497, allocations: 129.7 kB / 448.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.1497, allocations: 7.906 kB / 449 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.1497, allocations: 16.31 kB / 449 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1497, allocations: 0 / 449 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1498, allocations: 4 kB / 449 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1498, allocations: 0 / 449 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.15, allocations: 185.6 kB / 449.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.15, allocations: 0 / 449.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.15, allocations: 4 kB / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.15, allocations: 0 / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.15, allocations: 4 kB / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.15, allocations: 0 / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.15, allocations: 0 / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1502, allocations: 117.2 kB / 449.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1503, allocations: 88.98 kB / 449.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1503, allocations: 7.984 kB / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.1504, allocations: 4 kB / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1504, allocations: 7.938 kB / 449.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1504, allocations: 4 kB / 449.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1506, allocations: 139.2 kB / 449.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1506, allocations: 4 kB / 449.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1508, allocations: 16 kB / 449.5 MB, free: 15.38 MB / 334.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.00112/0.1519, allocations: 409.7 kB / 449.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1521, allocations: 43.91 kB / 450 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1521, allocations: 0 / 450 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.1522, allocations: 20.12 kB / 450 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1525, allocations: 35.97 kB / 450 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.153, allocations: 238.9 kB / 450.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.1534, allocations: 0.6965 MB / 451 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.1534, allocations: 23.42 kB / 451 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1534, allocations: 3.938 kB / 451 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Templates: time 0.00434/0.1578, allocations: 1.654 MB / 452.7 MB, free: 12.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1