Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 102 kB / 16.52 MB, free: 6.668 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.001554/0.001554, allocations: 198.8 kB / 17.44 MB, free: 6.059 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.914/1.914, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.3183/0.3183, allocations: 43.53 MB / 314.2 MB, free: 0.7461 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.001833/0.001833, allocations: 74.95 kB / 382.7 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 57.78 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004007/0.1565, allocations: 1.762 MB / 442.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1578, allocations: 0.785 MB / 443 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.158, allocations: 0 / 443 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.1584, allocations: 35.83 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.1587, allocations: 47.83 kB / 443.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.159, allocations: 75.84 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1592, allocations: 91.7 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1593, allocations: 16.48 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.1594, allocations: 35.8 kB / 443.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.1595, allocations: 31.8 kB / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1596, allocations: 0 / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1597, allocations: 39.97 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.1598, allocations: 23.86 kB / 443.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.1598, allocations: 31.75 kB / 443.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.16, allocations: 87.81 kB / 443.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.16, allocations: 0 / 443.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.16, allocations: 4 kB / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1601, allocations: 0 / 443.5 MB, free: 4.434 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.0005624/0.1606, allocations: 411 kB / 443.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1607, allocations: 12.03 kB / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.1607, allocations: 8.844 kB / 444 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.161, allocations: 212.9 kB / 444.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.161, allocations: 8.312 kB / 444.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.161, allocations: 4.125 kB / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1612, allocations: 57.67 kB / 444.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1612, allocations: 4 kB / 444.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1612, allocations: 0 / 444.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1612, allocations: 0 / 444.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.1613, allocations: 19.98 kB / 444.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1618, allocations: 284.8 kB / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.162, allocations: 66.61 kB / 444.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.1621, allocations: 16.86 kB / 444.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1621, allocations: 0 / 444.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.1623, allocations: 67.39 kB / 444.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1623, allocations: 0 / 444.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.1629, allocations: 177.1 kB / 444.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1629, allocations: 55.41 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1631, allocations: 190.1 kB / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1631, allocations: 29.7 kB / 445.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1632, allocations: 104.1 kB / 445.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1632, allocations: 19.72 kB / 445.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1632, allocations: 25.7 kB / 445.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.1633, allocations: 326.7 kB / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1634, allocations: 20 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.1634, allocations: 41.7 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1636, allocations: 57.88 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1636, allocations: 384 / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.1637, allocations: 101.5 kB / 445.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1638, allocations: 8 kB / 445.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1638, allocations: 3.984 kB / 445.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1638, allocations: 4.031 kB / 445.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1639, allocations: 16 kB / 445.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1639, allocations: 4 kB / 445.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.164, allocations: 7.875 kB / 445.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.164, allocations: 11.98 kB / 445.9 MB, free: 1.871 MB / 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 (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 8.822e-05/0.1641, allocations: 127.3 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1641, allocations: 11.81 kB / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.1642, allocations: 20.7 kB / 446 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1642, allocations: 3.938 kB / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1642, allocations: 4 kB / 446 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1642, allocations: 3.938 kB / 446 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1646, allocations: 395.3 kB / 446.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1646, allocations: 0 / 446.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1646, allocations: 8 kB / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1647, allocations: 0 / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1647, allocations: 7.922 kB / 446.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1647, allocations: 4 kB / 446.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1647, allocations: 4.031 kB / 446.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1649, allocations: 200.5 kB / 446.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.1649, allocations: 85.02 kB / 446.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.165, allocations: 3.938 kB / 446.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.1651, allocations: 11.98 kB / 446.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.1651, allocations: 0 / 446.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1651, allocations: 8 kB / 446.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.819e-05/0.1652, allocations: 143.2 kB / 446.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 446.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1655, allocations: 23.91 kB / 446.9 MB, free: 0.7148 MB / 318.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.001235/0.1668, allocations: 475.8 kB / 447.4 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.167, allocations: 55.91 kB / 447.4 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.167, allocations: 0 / 447.4 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.1671, allocations: 35.92 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1675, allocations: 19.98 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1681, allocations: 271.1 kB / 447.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.1686, allocations: 0.7004 MB / 448.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.1687, allocations: 19.44 kB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1687, allocations: 0 / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Templates: time 0.005092/0.1738, allocations: 1.908 MB / 450.4 MB, free: 13.28 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.o] Error 1