Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.16 kB / 16.67 MB, free: 6.59 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.001172/0.001172, allocations: 173 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.041/2.041, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2651/0.2651, allocations: 43.59 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.000563/0.000563, allocations: 21.02 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00175/0.1402, allocations: 1.42 MB / 445.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1418, allocations: 1.352 MB / 446.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.1419, allocations: 3.938 kB / 446.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1422, allocations: 35.84 kB / 446.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1424, allocations: 51.83 kB / 447 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1426, allocations: 78.91 kB / 447 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1427, allocations: 103.7 kB / 447.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1428, allocations: 8.234 kB / 447.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.1429, allocations: 43.72 kB / 447.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1431, allocations: 35.84 kB / 447.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1431, allocations: 4 kB / 447.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1432, allocations: 59.95 kB / 447.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1433, allocations: 19.92 kB / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.1433, allocations: 61.44 kB / 447.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1435, allocations: 91.8 kB / 447.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1435, allocations: 4 kB / 447.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1435, allocations: 0 / 447.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1435, allocations: 0 / 447.5 MB, free: 1.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004604/0.144, allocations: 395.2 kB / 447.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.144, allocations: 12.03 kB / 447.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1441, allocations: 8.844 kB / 447.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1443, allocations: 216.6 kB / 448.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1443, allocations: 3.938 kB / 448.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1443, allocations: 4 kB / 448.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1445, allocations: 79.33 kB / 448.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1445, allocations: 0 / 448.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1445, allocations: 3.984 kB / 448.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1445, allocations: 4 kB / 448.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.1446, allocations: 27.98 kB / 448.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1449, allocations: 292.7 kB / 448.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1451, allocations: 82.59 kB / 448.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1451, allocations: 24.86 kB / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1452, allocations: 0 / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1454, allocations: 71.38 kB / 448.7 MB, free: 404 kB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1454, allocations: 4 kB / 448.7 MB, free: 400 kB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004967/0.1459, allocations: 189.6 kB / 448.9 MB, free: 204 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1459, allocations: 84.98 kB / 448.9 MB, free: 100 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1461, allocations: 158.4 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1461, allocations: 25.7 kB / 449.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.1462, allocations: 104.1 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1462, allocations: 23.62 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1463, allocations: 21.8 kB / 449.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1464, allocations: 330.8 kB / 449.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.1465, allocations: 20 kB / 449.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.1466, allocations: 50.55 kB / 449.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1467, allocations: 69.66 kB / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1467, allocations: 0 / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.147, allocations: 113.6 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.147, allocations: 4 kB / 449.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.147, allocations: 11.94 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1471, allocations: 3.938 kB / 449.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.1471, allocations: 15.98 kB / 449.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1472, allocations: 4.156 kB / 449.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.1472, allocations: 4 kB / 449.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1472, allocations: 7.984 kB / 449.9 MB, free: 15.09 MB / 334.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 (11): * Single equations (assignments): 11 * 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.0001073/0.1473, allocations: 133.7 kB / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1474, allocations: 11.91 kB / 450 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1474, allocations: 16.66 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1474, allocations: 4 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1474, allocations: 0 / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.1475, allocations: 3.984 kB / 450 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.148, allocations: 415.2 kB / 450.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.148, allocations: 4 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.148, allocations: 8 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.148, allocations: 4.031 kB / 450.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1481, allocations: 7.984 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1481, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1481, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1483, allocations: 220.2 kB / 450.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1484, allocations: 89 kB / 450.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1484, allocations: 0 / 450.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.1485, allocations: 12 kB / 450.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1485, allocations: 7.984 kB / 450.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1486, allocations: 4 kB / 450.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1487, allocations: 123.9 kB / 450.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1487, allocations: 0 / 450.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1489, allocations: 35.98 kB / 451 MB, free: 13.89 MB / 334.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 (9): * Single equations (assignments): 7 * 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.001207/0.1502, allocations: 0.4949 MB / 451.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1504, allocations: 75.91 kB / 451.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1504, allocations: 3.938 kB / 451.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.1505, allocations: 31.98 kB / 451.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1508, allocations: 27.92 kB / 451.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.1513, allocations: 263.8 kB / 451.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1516, allocations: 0.7004 MB / 452.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1517, allocations: 23.42 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1517, allocations: 3.938 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Templates: time 0.004889/0.1566, allocations: 2.138 MB / 454.7 MB, free: 10.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.o] Error 1