Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008061/0.0008062, allocations: 94.86 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000847/0.000847, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003271, allocations: 12 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 63.46 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002636/0.158, allocations: 1.701 MB / 483.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1598, allocations: 1.03 MB / 484.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1599, allocations: 0 / 484.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1603, allocations: 43.77 kB / 484.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1606, allocations: 91.55 kB / 485 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1609, allocations: 119.8 kB / 485.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1611, allocations: 171.4 kB / 485.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1613, allocations: 29.66 kB / 485.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1614, allocations: 75.62 kB / 485.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1615, allocations: 67.67 kB / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1616, allocations: 8 kB / 485.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.863e-05/0.1617, allocations: 36 kB / 485.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.1617, allocations: 39.83 kB / 485.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1618, allocations: 45.64 kB / 485.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.162, allocations: 139.9 kB / 485.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.162, allocations: 0 / 485.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.162, allocations: 0 / 485.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1621, allocations: 4 kB / 485.7 MB, free: 1.777 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009678/0.163, allocations: 0.5487 MB / 486.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1631, allocations: 8.031 kB / 486.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.1631, allocations: 15.81 kB / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1635, allocations: 250.5 kB / 486.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1636, allocations: 8 kB / 486.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1636, allocations: 4 kB / 486.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.164, allocations: 164.1 kB / 486.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.164, allocations: 0 / 486.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1641, allocations: 8 kB / 486.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1641, allocations: 8 kB / 486.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.1645, allocations: 139.8 kB / 486.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.1652, allocations: 0.5516 MB / 487.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.1659, allocations: 178.6 kB / 487.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.1661, allocations: 88.8 kB / 487.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1662, allocations: 4 kB / 487.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.1666, allocations: 151.2 kB / 487.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1666, allocations: 0 / 487.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008224/0.1674, allocations: 289.3 kB / 488.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1675, allocations: 55.41 kB / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.1677, allocations: 240.1 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1678, allocations: 25.7 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1679, allocations: 128.3 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1679, allocations: 35.69 kB / 488.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.1679, allocations: 0 / 488.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1681, allocations: 338.8 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1684, allocations: 79.94 kB / 489 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.1686, allocations: 120.2 kB / 489.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1689, allocations: 113.6 kB / 489.2 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1689, allocations: 0 / 489.2 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006202/0.1696, allocations: 282.5 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.1696, allocations: 37.66 kB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1696, allocations: 0 / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1696, allocations: 4 kB / 489.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1698, allocations: 40.06 kB / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1698, allocations: 11.92 kB / 489.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.17, allocations: 35.83 kB / 489.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1701, allocations: 7.984 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001311/0.1702, allocations: 134.4 kB / 489.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1702, allocations: 23.8 kB / 489.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.1703, allocations: 25.34 kB / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1703, allocations: 4 kB / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1703, allocations: 0 / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1703, allocations: 0 / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.1705, allocations: 229.6 kB / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1705, allocations: 0 / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1707, allocations: 39.91 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1707, allocations: 0 / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1707, allocations: 4 kB / 490.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1707, allocations: 3.953 kB / 490.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1707, allocations: 0 / 490.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.1716, allocations: 344.6 kB / 490.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1716, allocations: 100.9 kB / 490.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1717, allocations: 4 kB / 490.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1718, allocations: 36.03 kB / 490.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.1719, allocations: 15.92 kB / 490.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1719, allocations: 8 kB / 490.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1721, allocations: 169.8 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1724, allocations: 35.98 kB / 490.8 MB, free: 12.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009896/0.1734, allocations: 420.8 kB / 491.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.174, allocations: 239.3 kB / 491.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.174, allocations: 0 / 491.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1742, allocations: 91.88 kB / 491.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1746, allocations: 44.75 kB / 491.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.1753, allocations: 378.1 kB / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1756, allocations: 0.7244 MB / 492.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.1757, allocations: 27.44 kB / 492.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1757, allocations: 0 / 492.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Templates: time 0.005208/0.1809, allocations: 2.825 MB / 495.5 MB, free: 7.676 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o] Error 1