Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007575/0.0007576, allocations: 92.56 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.0007911/0.0007912, allocations: 187.3 kB / 17.22 MB, free: 5.859 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.509/1.509, allocations: 205.4 MB / 223.4 MB, free: 5.566 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.3588/0.3588, allocations: 43.54 MB / 315.2 MB, free: 8.863 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.0005456/0.0005457, allocations: 16 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002405/0.1368, allocations: 1.391 MB / 444.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1383, allocations: 0.7421 MB / 445.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1384, allocations: 0 / 445.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1388, allocations: 31.89 kB / 445.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.139, allocations: 55.77 kB / 445.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1392, allocations: 63.91 kB / 445.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1394, allocations: 83.69 kB / 445.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.1395, allocations: 12.22 kB / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1396, allocations: 35.8 kB / 445.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.1397, allocations: 35.83 kB / 445.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1397, allocations: 0 / 445.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.1398, allocations: 32 kB / 445.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.1398, allocations: 23.92 kB / 445.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.1399, allocations: 37.64 kB / 446 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.14, allocations: 92.02 kB / 446 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1401, allocations: 0 / 446 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1401, allocations: 0 / 446 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1401, allocations: 0 / 446 MB, free: 10.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005298/0.1406, allocations: 402.8 kB / 446.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1407, allocations: 8.031 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1407, allocations: 11.84 kB / 446.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1409, allocations: 210.8 kB / 446.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.141, allocations: 0 / 446.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.141, allocations: 8 kB / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1412, allocations: 49.67 kB / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1412, allocations: 0 / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1412, allocations: 4 kB / 446.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1412, allocations: 3.953 kB / 446.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.1413, allocations: 19.98 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.1417, allocations: 284.9 kB / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1418, allocations: 54.67 kB / 447.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.1419, allocations: 16.86 kB / 447.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1419, allocations: 4 kB / 447.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1421, allocations: 83.17 kB / 447.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1421, allocations: 3.938 kB / 447.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005158/0.1426, allocations: 165.5 kB / 447.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1427, allocations: 55.41 kB / 447.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1429, allocations: 186.1 kB / 447.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1429, allocations: 29.64 kB / 447.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.143, allocations: 104.1 kB / 447.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.143, allocations: 23.7 kB / 447.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.143, allocations: 8 kB / 447.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1432, allocations: 322.8 kB / 448.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1432, allocations: 19.98 kB / 448.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.805e-05/0.1433, allocations: 33.7 kB / 448.1 MB, free: 8.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.1433, allocations: 24 kB / 448.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1433, allocations: 4 kB / 448.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1435, allocations: 105.7 kB / 448.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1436, allocations: 4 kB / 448.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1436, allocations: 0 / 448.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1436, allocations: 8 kB / 448.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.1437, allocations: 15.98 kB / 448.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1437, allocations: 0 / 448.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1437, allocations: 8 kB / 448.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1437, allocations: 0 / 448.3 MB, free: 7.941 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001093/0.1439, allocations: 137.7 kB / 448.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1439, allocations: 15.89 kB / 448.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.1439, allocations: 12.72 kB / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1439, allocations: 0 / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1439, allocations: 4 kB / 448.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1439, allocations: 0 / 448.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.1443, allocations: 395.2 kB / 448.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1444, allocations: 0 / 448.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.1444, allocations: 11.98 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1444, allocations: 4.031 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1444, allocations: 8 kB / 448.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1444, allocations: 0 / 448.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1444, allocations: 0 / 448.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1446, allocations: 196.2 kB / 449 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1447, allocations: 100.9 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1447, allocations: 3.938 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.1448, allocations: 8 kB / 449.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1448, allocations: 7.984 kB / 449.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1449, allocations: 8 kB / 449.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.145, allocations: 144.2 kB / 449.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 449.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1452, allocations: 27.94 kB / 449.3 MB, free: 6.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001001/0.1462, allocations: 462.8 kB / 449.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1464, allocations: 67.88 kB / 449.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1464, allocations: 0 / 449.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.1465, allocations: 31.92 kB / 449.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1468, allocations: 28.11 kB / 449.9 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.1472, allocations: 264 kB / 450.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1475, allocations: 0.7121 MB / 450.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1476, allocations: 19.44 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1476, allocations: 0 / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of Templates: time 0.003327/0.1509, allocations: 1.864 MB / 452.8 MB, free: 3.312 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.o] Error 1