Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008139/0.0008139, allocations: 91.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009221/0.0009223, allocations: 206.6 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2576/0.2576, allocations: 45.91 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 15.94 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 63.46 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002245/0.1523, allocations: 1.431 MB / 483.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.154, allocations: 0.9519 MB / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1541, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1545, allocations: 87.77 kB / 484.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1548, allocations: 99.69 kB / 484.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.155, allocations: 95.75 kB / 484.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1552, allocations: 99.69 kB / 484.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.1553, allocations: 15.98 kB / 484.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1554, allocations: 51.77 kB / 485 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.1555, allocations: 51.81 kB / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1555, allocations: 4 kB / 485 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1557, allocations: 51.92 kB / 485.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1557, allocations: 27.86 kB / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.1558, allocations: 37.64 kB / 485.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.156, allocations: 112 kB / 485.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.156, allocations: 4 kB / 485.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.156, allocations: 0 / 485.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.156, allocations: 4 kB / 485.2 MB, free: 2.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00054/0.1565, allocations: 410.9 kB / 485.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1566, allocations: 12.03 kB / 485.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1566, allocations: 15.81 kB / 485.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1569, allocations: 228.2 kB / 485.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1569, allocations: 4 kB / 485.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1569, allocations: 8 kB / 485.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1571, allocations: 65.62 kB / 486 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1571, allocations: 8 kB / 486 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1571, allocations: 0 / 486 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1571, allocations: 0 / 486 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.1572, allocations: 19.98 kB / 486 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1577, allocations: 300.8 kB / 486.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1579, allocations: 62.48 kB / 486.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.158, allocations: 24.97 kB / 486.4 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.158, allocations: 4 kB / 486.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1582, allocations: 67.33 kB / 486.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1582, allocations: 0 / 486.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007299/0.1589, allocations: 256.9 kB / 486.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.159, allocations: 55.41 kB / 486.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1592, allocations: 238.1 kB / 487 MB, free: 360 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1593, allocations: 25.7 kB / 487 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1593, allocations: 112.1 kB / 487.1 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1594, allocations: 31.55 kB / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1594, allocations: 4 kB / 487.1 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1595, allocations: 326.8 kB / 487.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1596, allocations: 27.98 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.1597, allocations: 49.7 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.1598, allocations: 28.11 kB / 487.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1598, allocations: 0 / 487.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002162/0.16, allocations: 137.3 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.16, allocations: 4 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1601, allocations: 0 / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1601, allocations: 4 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.1602, allocations: 27.97 kB / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1602, allocations: 0 / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.1603, allocations: 4 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1603, allocations: 11.94 kB / 487.8 MB, free: 15.54 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 (13): * Single equations (assignments): 13 * 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.0001558/0.1604, allocations: 137 kB / 487.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1605, allocations: 15.81 kB / 487.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.1605, allocations: 21.39 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1605, allocations: 0 / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.1606, allocations: 3.953 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1606, allocations: 4 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.1612, allocations: 456 kB / 488.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1612, allocations: 0 / 488.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1613, allocations: 15.98 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1613, allocations: 3.953 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1613, allocations: 4 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1613, allocations: 8.062 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1614, allocations: 7.938 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1617, allocations: 229 kB / 488.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.1618, allocations: 92.91 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1618, allocations: 7.953 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1619, allocations: 8 kB / 488.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.162, allocations: 7.984 kB / 488.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.162, allocations: 4 kB / 488.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1622, allocations: 176.4 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 0 / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1625, allocations: 35.98 kB / 489 MB, free: 14.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001389/0.1639, allocations: 0.4983 MB / 489.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1642, allocations: 79.91 kB / 489.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1642, allocations: 0 / 489.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.1643, allocations: 39.92 kB / 489.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1646, allocations: 31.17 kB / 489.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.1654, allocations: 341.8 kB / 489.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1658, allocations: 0.716 MB / 490.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.1658, allocations: 23.42 kB / 490.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1658, allocations: 0 / 490.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004325/0.1702, allocations: 2.249 MB / 492.9 MB, free: 10.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.o] Error 1