Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008409, allocations: 92.91 kB / 16.67 MB, free: 6.105 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.0008373/0.0008373, allocations: 178.7 kB / 17.57 MB, free: 5.82 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.909/1.909, allocations: 205.4 MB / 223.7 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.2808/0.2808, allocations: 43.6 MB / 315.6 MB, free: 420 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.0005879/0.0005879, allocations: 15.12 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002029/0.1535, allocations: 1.42 MB / 445.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1547, allocations: 0.7652 MB / 446.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1548, allocations: 0 / 446.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.1551, allocations: 31.89 kB / 446.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1553, allocations: 43.84 kB / 446.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1555, allocations: 83.77 kB / 446.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1557, allocations: 91.7 kB / 446.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1558, allocations: 4.234 kB / 446.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.1559, allocations: 43.72 kB / 446.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.156, allocations: 27.86 kB / 446.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.156, allocations: 0 / 446.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.1561, allocations: 47.91 kB / 446.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.1561, allocations: 15.92 kB / 446.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.1562, allocations: 57.5 kB / 446.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1563, allocations: 71.88 kB / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1564, allocations: 7.938 kB / 446.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1564, allocations: 0 / 446.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1564, allocations: 0 / 446.8 MB, free: 2.426 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004642/0.1568, allocations: 391.1 kB / 447.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1569, allocations: 8.031 kB / 447.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1569, allocations: 12.84 kB / 447.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1571, allocations: 204.7 kB / 447.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1571, allocations: 7.922 kB / 447.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1572, allocations: 4 kB / 447.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1573, allocations: 53.67 kB / 447.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1573, allocations: 3.938 kB / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1574, allocations: 0 / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1574, allocations: 0 / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.1574, allocations: 23.97 kB / 447.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1578, allocations: 292.8 kB / 447.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1579, allocations: 54.69 kB / 447.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.158, allocations: 24.78 kB / 447.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.158, allocations: 0 / 447.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1582, allocations: 75.39 kB / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1582, allocations: 0 / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005615/0.1588, allocations: 165.3 kB / 448.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1589, allocations: 55.34 kB / 448.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.159, allocations: 158.4 kB / 448.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.159, allocations: 29.7 kB / 448.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1591, allocations: 96.14 kB / 448.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1591, allocations: 27.64 kB / 448.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1591, allocations: 13.66 kB / 448.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.1592, allocations: 330.8 kB / 448.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.1593, allocations: 19.98 kB / 448.8 MB, free: 200 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.1594, allocations: 33.7 kB / 448.8 MB, free: 160 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.1595, allocations: 57.66 kB / 448.9 MB, free: 96 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1595, allocations: 7.984 kB / 448.9 MB, free: 88 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.1597, allocations: 105.7 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1597, allocations: 6.031 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1597, allocations: 3.938 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1598, allocations: 7.938 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1599, allocations: 15.98 kB / 449 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1599, allocations: 0 / 449 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1599, allocations: 8 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.16, allocations: 4 kB / 449.1 MB, free: 15.93 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 (10): * Single equations (assignments): 10 * 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.0001402/0.1601, allocations: 125.8 kB / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.1601, allocations: 7.906 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.1602, allocations: 16.66 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1602, allocations: 4 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1602, allocations: 3.938 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1602, allocations: 0 / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.1608, allocations: 391.5 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1608, allocations: 0 / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1608, allocations: 19.95 kB / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1608, allocations: 0 / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1609, allocations: 4 kB / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1609, allocations: 0 / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1609, allocations: 0 / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1611, allocations: 200.2 kB / 449.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1612, allocations: 92.91 kB / 449.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1612, allocations: 8 kB / 449.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1613, allocations: 4.375 kB / 449.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1614, allocations: 11.92 kB / 449.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1614, allocations: 4 kB / 449.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1615, allocations: 123.9 kB / 450.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1616, allocations: 0 / 450.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1618, allocations: 24 kB / 450.1 MB, free: 14.79 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 (8): * Single equations (assignments): 6 * 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.001279/0.1631, allocations: 478.4 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1634, allocations: 59.84 kB / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1634, allocations: 0 / 450.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.1634, allocations: 32.11 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1638, allocations: 23.98 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.1643, allocations: 251.7 kB / 450.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1646, allocations: 0.7083 MB / 451.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1647, allocations: 15.44 kB / 451.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1647, allocations: 0 / 451.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.004304/0.169, allocations: 1.829 MB / 453.5 MB, free: 11.45 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.o] Error 1