Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 89.17 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.001338/0.001338, allocations: 197.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.583/1.583, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2548/0.2548, allocations: 45.92 MB / 344.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 16 kB / 418.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 63.47 MB / 482.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00262/0.1579, allocations: 1.419 MB / 483.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1596, allocations: 0.948 MB / 484.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.1596, allocations: 4 kB / 484.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.16, allocations: 51.75 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1602, allocations: 83.72 kB / 484.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1605, allocations: 87.83 kB / 484.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1607, allocations: 95.69 kB / 484.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1608, allocations: 11.98 kB / 484.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.1609, allocations: 43.73 kB / 484.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.161, allocations: 39.77 kB / 484.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1611, allocations: 4 kB / 484.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1611, allocations: 28 kB / 484.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1612, allocations: 27.91 kB / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.1613, allocations: 37.64 kB / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1615, allocations: 112.1 kB / 485.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1615, allocations: 0 / 485.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1615, allocations: 0 / 485.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1615, allocations: 0 / 485.1 MB, free: 2.34 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.0006398/0.1621, allocations: 430.6 kB / 485.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1622, allocations: 8.031 kB / 485.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.1622, allocations: 15.81 kB / 485.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.1626, allocations: 219.7 kB / 485.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1626, allocations: 4 kB / 485.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1626, allocations: 0 / 485.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1628, allocations: 57.67 kB / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1628, allocations: 0 / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1628, allocations: 0 / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1628, allocations: 0 / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.1629, allocations: 27.92 kB / 485.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.1633, allocations: 292.9 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1635, allocations: 54.69 kB / 486.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.1636, allocations: 20.84 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1636, allocations: 0 / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1638, allocations: 75.31 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.354e-05/0.1638, allocations: 4 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005478/0.1643, allocations: 192.9 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.1644, allocations: 55.36 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1647, allocations: 272 kB / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1647, allocations: 25.7 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.1648, allocations: 116.1 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1648, allocations: 19.72 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1648, allocations: 4 kB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.165, allocations: 330.8 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.1651, allocations: 20 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1651, allocations: 37.64 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.1652, allocations: 20 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1652, allocations: 0 / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1654, allocations: 113.4 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1654, allocations: 4 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1655, allocations: 8.031 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1655, allocations: 0 / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.1656, allocations: 27.84 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1656, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.1656, allocations: 11.89 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1657, allocations: 4 kB / 487.5 MB, free: 15.69 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.0001309/0.1658, allocations: 133.8 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1658, allocations: 12.19 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.1659, allocations: 25.39 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1659, allocations: 8 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1659, allocations: 0 / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1659, allocations: 4 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1664, allocations: 399.3 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1664, allocations: 0 / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1664, allocations: 12 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1664, allocations: 0 / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1664, allocations: 7.984 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1665, allocations: 7.984 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1665, allocations: 0 / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1667, allocations: 212.1 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.1668, allocations: 88.92 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1668, allocations: 3.984 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1669, allocations: 4 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1669, allocations: 15.95 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1669, allocations: 3.984 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1671, allocations: 200.6 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 0 / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1674, allocations: 23.98 kB / 488.7 MB, free: 14.45 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.0011/0.1685, allocations: 460 kB / 489.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1687, allocations: 55.91 kB / 489.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1687, allocations: 0 / 489.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.1688, allocations: 35.92 kB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1692, allocations: 27.53 kB / 489.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.1697, allocations: 340.7 kB / 489.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1701, allocations: 0.72 MB / 490.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.1701, allocations: 19.42 kB / 490.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1701, allocations: 0 / 490.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004106/0.1742, allocations: 2.08 MB / 492.4 MB, free: 10.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49CalcHelperMain.o] Error 1