Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 92.06 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.001268/0.001268, allocations: 182.1 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 1.97/1.97, allocations: 205.4 MB / 223.7 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.3145/0.3145, allocations: 43.58 MB / 315.6 MB, free: 440 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.0005854/0.0005854, allocations: 27.36 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1558, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002535/0.1584, allocations: 1.498 MB / 445.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1597, allocations: 0.8471 MB / 446.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.1598, allocations: 7.875 kB / 446.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.1604, allocations: 299.4 kB / 446.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1607, allocations: 191.5 kB / 446.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1611, allocations: 135.1 kB / 447.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.1613, allocations: 231.4 kB / 447.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.1614, allocations: 29.41 kB / 447.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1616, allocations: 119.6 kB / 447.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1618, allocations: 183.5 kB / 447.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1618, allocations: 4 kB / 447.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1619, allocations: 43.92 kB / 447.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1621, allocations: 139.6 kB / 447.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1622, allocations: 168.5 kB / 448 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1625, allocations: 267.6 kB / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1625, allocations: 0 / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1625, allocations: 0 / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1625, allocations: 4 kB / 448.2 MB, free: 1.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008496/0.1634, allocations: 0.6688 MB / 448.9 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1635, allocations: 11.97 kB / 448.9 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.1635, allocations: 48.28 kB / 449 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.1641, allocations: 447.9 kB / 449.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.1642, allocations: 384 / 449.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1642, allocations: 8.125 kB / 449.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.1644, allocations: 91.3 kB / 449.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1644, allocations: 0 / 449.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1645, allocations: 0 / 449.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1645, allocations: 4 kB / 449.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1646, allocations: 27.98 kB / 449.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.1651, allocations: 378.3 kB / 449.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1654, allocations: 105.2 kB / 450 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1655, allocations: 41.64 kB / 450 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1655, allocations: 4 kB / 450 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1658, allocations: 117 kB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1658, allocations: 4 kB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004973/0.1663, allocations: 196.9 kB / 450.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.1664, allocations: 81.11 kB / 450.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1676, allocations: 1.034 MB / 451.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.1677, allocations: 33.7 kB / 451.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.1679, allocations: 232.1 kB / 451.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1681, allocations: 23.7 kB / 451.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.1681, allocations: 21.7 kB / 451.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1684, allocations: 366.8 kB / 452.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.1685, allocations: 31.92 kB / 452.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1686, allocations: 55.36 kB / 452.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1688, allocations: 91.41 kB / 452.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1688, allocations: 0 / 452.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003029/0.1691, allocations: 172.8 kB / 452.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1691, allocations: 6.188 kB / 452.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1691, allocations: 0 / 452.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1691, allocations: 4.062 kB / 452.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1693, allocations: 27.92 kB / 452.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1693, allocations: 0 / 452.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.1694, allocations: 19.92 kB / 452.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1694, allocations: 4 kB / 452.5 MB, free: 12.43 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000239/0.1697, allocations: 242 kB / 452.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.12e-05/0.1697, allocations: 51.34 kB / 452.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.1699, allocations: 60 kB / 452.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1699, allocations: 4 kB / 452.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1699, allocations: 4 kB / 452.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1699, allocations: 0 / 452.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.1703, allocations: 349.4 kB / 453.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1703, allocations: 0 / 453.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1703, allocations: 4 kB / 453.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1703, allocations: 4 kB / 453.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1704, allocations: 0 / 453.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1704, allocations: 0 / 453.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.1704, allocations: 4 kB / 453.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1707, allocations: 205.2 kB / 453.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1709, allocations: 148.4 kB / 453.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.1709, allocations: 7.984 kB / 453.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.171, allocations: 8 kB / 453.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.171, allocations: 11.92 kB / 453.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1711, allocations: 4 kB / 453.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008233/0.1719, allocations: 0.7721 MB / 454.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1719, allocations: 4 kB / 454.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1722, allocations: 44 kB / 454.4 MB, free: 10.43 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001102/0.1733, allocations: 413.4 kB / 454.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1736, allocations: 83.89 kB / 454.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1736, allocations: 0 / 454.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1737, allocations: 40.05 kB / 455 MB, free: 9.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1742, allocations: 66.2 kB / 455 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1756, allocations: 0.9928 MB / 456 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.1762, allocations: 0.8468 MB / 456.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.1763, allocations: 31.42 kB / 456.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1763, allocations: 4 kB / 456.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of Templates: time 0.008693/0.185, allocations: 4.981 MB / 461.9 MB, free: 2.992 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.o] Error 1