Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001017, allocations: 89.92 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.001234/0.001234, allocations: 198.2 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.588/1.588, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2773/0.2773, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 63.47 MB / 482.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002018/0.1491, allocations: 1.287 MB / 483.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.15, allocations: 495.2 kB / 483.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.15, allocations: 0 / 483.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1503, allocations: 27.84 kB / 483.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1505, allocations: 55.83 kB / 484 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1507, allocations: 95.77 kB / 484.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1509, allocations: 55.83 kB / 484.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.151, allocations: 15.98 kB / 484.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.1511, allocations: 19.86 kB / 484.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.1511, allocations: 15.88 kB / 484.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1511, allocations: 4 kB / 484.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.1512, allocations: 27.98 kB / 484.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.1513, allocations: 15.91 kB / 484.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.1513, allocations: 33.7 kB / 484.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1514, allocations: 55.92 kB / 484.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1514, allocations: 0 / 484.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1514, allocations: 0 / 484.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1515, allocations: 0 / 484.3 MB, free: 3.164 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004795/0.1519, allocations: 379.2 kB / 484.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.152, allocations: 8.031 kB / 484.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.152, allocations: 11.91 kB / 484.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1522, allocations: 186.9 kB / 484.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1523, allocations: 4 kB / 484.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1523, allocations: 8 kB / 484.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1524, allocations: 45.69 kB / 484.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1524, allocations: 0 / 484.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1525, allocations: 0 / 484.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1525, allocations: 4 kB / 484.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.1526, allocations: 35.91 kB / 485 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.153, allocations: 280.9 kB / 485.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1532, allocations: 46.56 kB / 485.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1533, allocations: 20.94 kB / 485.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1533, allocations: 4 kB / 485.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1533, allocations: 38.5 kB / 485.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.1533, allocations: 3.984 kB / 485.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005507/0.1539, allocations: 165.2 kB / 485.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.154, allocations: 59.36 kB / 485.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1541, allocations: 148.9 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1541, allocations: 25.7 kB / 485.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1542, allocations: 104 kB / 485.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1542, allocations: 19.75 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.1542, allocations: 0 / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1544, allocations: 318.8 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.1545, allocations: 23.98 kB / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.1545, allocations: 23.98 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.1546, allocations: 31.97 kB / 486.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1546, allocations: 0 / 486.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001796/0.1548, allocations: 93.52 kB / 486.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1548, allocations: 8 kB / 486.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1548, allocations: 4 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1548, allocations: 0 / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.1549, allocations: 23.88 kB / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1549, allocations: 0 / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.155, allocations: 4 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.155, allocations: 7.984 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001032/0.1551, allocations: 118.4 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1551, allocations: 11.91 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1554, allocations: 105.9 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1554, allocations: 0 / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1554, allocations: 4.266 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1554, allocations: 4 kB / 486.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1558, allocations: 366.5 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1558, allocations: 0 / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.1559, allocations: 8 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1559, allocations: 4 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.1559, allocations: 3.953 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1559, allocations: 4 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1559, allocations: 3.984 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1562, allocations: 187.4 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.1562, allocations: 89 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1563, allocations: 4 kB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.1563, allocations: 11.95 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1564, allocations: 3.984 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1564, allocations: 4 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.1565, allocations: 117.7 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1565, allocations: 0 / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1567, allocations: 20 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009615/0.1577, allocations: 409.4 kB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1579, allocations: 55.91 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1579, allocations: 0 / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.158, allocations: 31.97 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1583, allocations: 16 kB / 488 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.1588, allocations: 223 kB / 488.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1591, allocations: 0.6965 MB / 488.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1591, allocations: 15.42 kB / 488.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1591, allocations: 0 / 488.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003401/0.1625, allocations: 1.427 MB / 490.3 MB, free: 12.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1CalcHelperMain.o] Error 1