Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008459/0.0008504, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.0008307/0.0008309, allocations: 180.5 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 242.5 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.22 MB / 337.9 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002371/0.1547, allocations: 1.394 MB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1568, allocations: 1.371 MB / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.1569, allocations: 0 / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.1572, allocations: 35.83 kB / 475 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1574, allocations: 51.83 kB / 475 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1576, allocations: 87.77 kB / 475.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1577, allocations: 95.67 kB / 475.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.1578, allocations: 16.22 kB / 475.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.1579, allocations: 35.8 kB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.158, allocations: 39.33 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.158, allocations: 4 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.1581, allocations: 51.92 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1582, allocations: 15.97 kB / 475.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1582, allocations: 41.64 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1584, allocations: 96.06 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1584, allocations: 0 / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1584, allocations: 0 / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.1584, allocations: 4 kB / 475.5 MB, free: 10.37 MB / 350.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.0004558/0.1589, allocations: 409.1 kB / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.1589, allocations: 8.562 kB / 475.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1589, allocations: 7.906 kB / 475.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1592, allocations: 207.4 kB / 476.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.1592, allocations: 0 / 476.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1592, allocations: 8 kB / 476.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1594, allocations: 83.31 kB / 476.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.1594, allocations: 0 / 476.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1594, allocations: 0 / 476.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1594, allocations: 4 kB / 476.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.1595, allocations: 35.91 kB / 476.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1599, allocations: 292.8 kB / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.16, allocations: 66.69 kB / 476.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1601, allocations: 28.84 kB / 476.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1601, allocations: 0 / 476.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1603, allocations: 75.31 kB / 476.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1603, allocations: 0 / 476.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004637/0.1608, allocations: 197.3 kB / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1608, allocations: 81.11 kB / 477 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.161, allocations: 156.3 kB / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.161, allocations: 29.7 kB / 477.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1611, allocations: 96.12 kB / 477.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1611, allocations: 27.66 kB / 477.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.1611, allocations: 3.938 kB / 477.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1613, allocations: 322.8 kB / 477.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.1614, allocations: 31.98 kB / 477.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.1615, allocations: 50.5 kB / 477.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/0.1615, allocations: 27.98 kB / 477.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1615, allocations: 4 kB / 477.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001972/0.1617, allocations: 109.5 kB / 477.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1618, allocations: 4.094 kB / 477.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.1618, allocations: 3.938 kB / 477.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.1618, allocations: 4.062 kB / 477.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.1619, allocations: 23.98 kB / 477.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.1619, allocations: 0 / 477.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1619, allocations: 8 kB / 477.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.162, allocations: 4 kB / 477.9 MB, free: 7.766 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001128/0.1621, allocations: 129.7 kB / 478 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1621, allocations: 7.906 kB / 478 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.1622, allocations: 12.72 kB / 478 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1622, allocations: 4 kB / 478 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1622, allocations: 3.984 kB / 478 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1622, allocations: 4 kB / 478 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1627, allocations: 411.3 kB / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1627, allocations: 0 / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.1628, allocations: 8 kB / 478.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.1628, allocations: 7.984 kB / 478.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1628, allocations: 3.984 kB / 478.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1628, allocations: 4.031 kB / 478.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1628, allocations: 4 kB / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1631, allocations: 216.1 kB / 478.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1632, allocations: 89 kB / 478.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.1632, allocations: 4 kB / 478.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1633, allocations: 7.938 kB / 478.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.1633, allocations: 11.98 kB / 478.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1633, allocations: 4 kB / 478.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1634, allocations: 126 kB / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1634, allocations: 0 / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1637, allocations: 35.98 kB / 478.9 MB, free: 6.586 MB / 350.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 (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.001164/0.1649, allocations: 0.5055 MB / 479.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1651, allocations: 67.91 kB / 479.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1651, allocations: 4.062 kB / 479.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.1652, allocations: 35.97 kB / 479.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1655, allocations: 31.88 kB / 479.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.1659, allocations: 251.8 kB / 479.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1662, allocations: 0.7082 MB / 480.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1663, allocations: 19.42 kB / 480.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1663, allocations: 0 / 480.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.004053/0.1704, allocations: 2.143 MB / 482.7 MB, free: 2.969 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.o] Error 1