Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 11.98 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002777/0.1639, allocations: 1.415 MB / 483.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.166, allocations: 0.948 MB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1661, allocations: 7.938 kB / 484.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.1665, allocations: 35.84 kB / 484.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.1669, allocations: 75.73 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1674, allocations: 87.83 kB / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1676, allocations: 91.69 kB / 484.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1678, allocations: 11.97 kB / 484.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1679, allocations: 35.8 kB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.168, allocations: 39.78 kB / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.168, allocations: 4 kB / 484.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1682, allocations: 31.98 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.1683, allocations: 19.86 kB / 484.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1683, allocations: 41.64 kB / 485 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1686, allocations: 92.08 kB / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.1686, allocations: 4 kB / 485.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1686, allocations: 0 / 485.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1686, allocations: 0 / 485.1 MB, free: 2.449 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006956/0.1693, allocations: 402.8 kB / 485.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1694, allocations: 8.031 kB / 485.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1694, allocations: 11.91 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1697, allocations: 207.5 kB / 485.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1698, allocations: 4 kB / 485.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1698, allocations: 7.938 kB / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.17, allocations: 53.67 kB / 485.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.17, allocations: 0 / 485.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.17, allocations: 3.984 kB / 485.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1701, allocations: 4 kB / 485.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.1702, allocations: 19.98 kB / 485.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1706, allocations: 284.8 kB / 486.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1708, allocations: 58.62 kB / 486.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.1709, allocations: 24.84 kB / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1709, allocations: 0 / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1712, allocations: 67.39 kB / 486.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.1712, allocations: 0 / 486.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006846/0.1719, allocations: 173.2 kB / 486.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.1719, allocations: 55.36 kB / 486.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1722, allocations: 191.4 kB / 486.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1722, allocations: 33.7 kB / 486.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1724, allocations: 108.1 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1724, allocations: 27.69 kB / 486.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.1724, allocations: 4 kB / 486.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1727, allocations: 322.8 kB / 487.1 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.1727, allocations: 23.94 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.1728, allocations: 33.7 kB / 487.2 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.1729, allocations: 24 kB / 487.2 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1729, allocations: 0 / 487.2 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.1731, allocations: 105.4 kB / 487.3 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1731, allocations: 8.188 kB / 487.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1732, allocations: 0 / 487.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1732, allocations: 4.047 kB / 487.3 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1733, allocations: 23.92 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1733, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.1734, allocations: 4.328 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1734, allocations: 8.031 kB / 487.3 MB, free: 15.96 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001555/0.1736, allocations: 125.8 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1736, allocations: 11.91 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.1737, allocations: 13.41 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1737, allocations: 0 / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.1737, allocations: 8 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1737, allocations: 7.922 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.1742, allocations: 395.3 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1743, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.1743, allocations: 11.94 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1743, allocations: 4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1743, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.1743, allocations: 7.938 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1743, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1746, allocations: 204.2 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1747, allocations: 85.02 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1747, allocations: 8 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.1748, allocations: 3.984 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1749, allocations: 11.89 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1749, allocations: 4 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1751, allocations: 152.2 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 0 / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1753, allocations: 35.89 kB / 488.4 MB, free: 14.79 MB / 366.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 (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.001262/0.1766, allocations: 455.2 kB / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1768, allocations: 63.89 kB / 488.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1768, allocations: 0 / 488.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.1769, allocations: 31.98 kB / 488.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1772, allocations: 27.91 kB / 489 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.1777, allocations: 276 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1781, allocations: 0.7082 MB / 489.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1781, allocations: 15.44 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1781, allocations: 0 / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004081/0.1822, allocations: 1.922 MB / 491.9 MB, free: 11.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.o] Error 1