Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007878/0.0007878, allocations: 90.08 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.0008306/0.0008305, allocations: 197 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.521/1.521, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003044, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002546/0.1557, allocations: 1.38 MB / 483.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1576, allocations: 0.9324 MB / 484.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1578, allocations: 0 / 484.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1582, allocations: 59.8 kB / 484.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.1586, allocations: 83.72 kB / 484.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1589, allocations: 95.33 kB / 484.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1591, allocations: 91.62 kB / 484.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.1592, allocations: 8.234 kB / 484.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1593, allocations: 47.7 kB / 484.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1595, allocations: 39.84 kB / 484.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1595, allocations: 0 / 484.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1596, allocations: 35.91 kB / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1596, allocations: 7.984 kB / 484.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1597, allocations: 37.64 kB / 484.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1599, allocations: 84.11 kB / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1599, allocations: 0 / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1599, allocations: 0 / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1599, allocations: 0 / 485 MB, free: 2.492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006105/0.1605, allocations: 398.9 kB / 485.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1606, allocations: 8.031 kB / 485.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.1606, allocations: 11.81 kB / 485.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1609, allocations: 207.5 kB / 485.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.161, allocations: 7.938 kB / 485.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.161, allocations: 4 kB / 485.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1612, allocations: 49.66 kB / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1612, allocations: 0 / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1612, allocations: 0 / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1612, allocations: 0 / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.1613, allocations: 19.92 kB / 485.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.1615, allocations: 189.6 kB / 485.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1617, allocations: 54.62 kB / 486 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1618, allocations: 20.84 kB / 486 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1618, allocations: 0 / 486 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.162, allocations: 67.33 kB / 486 MB, free: 1.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.162, allocations: 0 / 486 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003339/0.1624, allocations: 101.5 kB / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.1624, allocations: 51.41 kB / 486.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.1627, allocations: 187.4 kB / 486.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1627, allocations: 25.7 kB / 486.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1628, allocations: 108.1 kB / 486.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1628, allocations: 7.891 kB / 486.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1628, allocations: 0 / 486.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.163, allocations: 330.8 kB / 486.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.1631, allocations: 15.98 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1631, allocations: 29.7 kB / 486.9 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.1632, allocations: 23.94 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1632, allocations: 0 / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002045/0.1634, allocations: 77.5 kB / 487 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1635, allocations: 7.938 kB / 487 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1635, allocations: 4 kB / 487 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1635, allocations: 0 / 487 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1636, allocations: 19.95 kB / 487 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1636, allocations: 0 / 487 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.1636, allocations: 4 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1637, allocations: 4 kB / 487 MB, free: 280 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0001199/0.1638, allocations: 129.8 kB / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.1638, allocations: 7.906 kB / 487.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1639, allocations: 9 kB / 487.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1639, allocations: 3.938 kB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1639, allocations: 3.984 kB / 487.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1639, allocations: 8 kB / 487.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1641, allocations: 189.4 kB / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1642, allocations: 4 kB / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.1642, allocations: 0 / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1642, allocations: 4 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1642, allocations: 8.297 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1642, allocations: 0 / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1642, allocations: 4 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1644, allocations: 109 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.1645, allocations: 92.97 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1645, allocations: 0 / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1646, allocations: 4 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1646, allocations: 3.984 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1647, allocations: 4 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1648, allocations: 152.2 kB / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1651, allocations: 16 kB / 487.8 MB, free: 15.44 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001009/0.1661, allocations: 416.7 kB / 488.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1662, allocations: 43.92 kB / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1663, allocations: 0 / 488.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.1663, allocations: 19.98 kB / 488.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1666, allocations: 26.27 kB / 488.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.1671, allocations: 246.9 kB / 488.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1675, allocations: 0.7052 MB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.1675, allocations: 11.44 kB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1675, allocations: 7.938 kB / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004232/0.1718, allocations: 1.698 MB / 490.9 MB, free: 12.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.o] Error 1