Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001224, allocations: 94.03 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.26/0.26, allocations: 45.91 MB / 344.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002652, allocations: 11.94 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001974/0.1525, allocations: 1.338 MB / 483.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.1534, allocations: 0.4914 MB / 484 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1534, allocations: 4 kB / 484 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1537, allocations: 79.81 kB / 484 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1539, allocations: 95.7 kB / 484.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1542, allocations: 87.78 kB / 484.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1544, allocations: 79.8 kB / 484.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1545, allocations: 19.98 kB / 484.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.1545, allocations: 35.84 kB / 484.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.1546, allocations: 51.81 kB / 484.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1546, allocations: 0 / 484.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1547, allocations: 43.94 kB / 484.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1548, allocations: 23.91 kB / 484.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1548, allocations: 37.64 kB / 484.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.155, allocations: 95.84 kB / 484.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.155, allocations: 0 / 484.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.155, allocations: 0 / 484.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.155, allocations: 0 / 484.6 MB, free: 2.926 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004599/0.1555, allocations: 415 kB / 485 MB, free: 2.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1555, allocations: 12.03 kB / 485 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1556, allocations: 15.81 kB / 485 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1558, allocations: 211.2 kB / 485.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1558, allocations: 4 kB / 485.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1558, allocations: 4 kB / 485.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.156, allocations: 69.67 kB / 485.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.156, allocations: 3.906 kB / 485.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.156, allocations: 0 / 485.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.156, allocations: 3.984 kB / 485.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1562, allocations: 47.97 kB / 485.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1566, allocations: 336.6 kB / 485.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1567, allocations: 58.56 kB / 485.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1568, allocations: 32.83 kB / 485.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1568, allocations: 0 / 485.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1568, allocations: 34.56 kB / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1568, allocations: 0 / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001033/0.1579, allocations: 337.1 kB / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1579, allocations: 51.41 kB / 486.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1582, allocations: 239.4 kB / 486.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1582, allocations: 29.7 kB / 486.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1583, allocations: 108 kB / 486.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1583, allocations: 47.36 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1583, allocations: 0 / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1585, allocations: 334.8 kB / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.1586, allocations: 43.97 kB / 487 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.1587, allocations: 39.98 kB / 487 MB, free: 288 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.1588, allocations: 39.98 kB / 487.1 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1588, allocations: 4 kB / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002269/0.159, allocations: 144.8 kB / 487.2 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.159, allocations: 7.953 kB / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.159, allocations: 0 / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.159, allocations: 0 / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1592, allocations: 35.97 kB / 487.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1592, allocations: 4 kB / 487.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1592, allocations: 8 kB / 487.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1593, allocations: 0 / 487.3 MB, free: 40 kB / 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 (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.0001254/0.1594, allocations: 137.8 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1594, allocations: 7.906 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.1598, allocations: 195.6 kB / 487.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1598, allocations: 0 / 487.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1598, allocations: 4 kB / 487.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1598, allocations: 7.922 kB / 487.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1605, allocations: 495 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1605, allocations: 0 / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.1606, allocations: 27.98 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1606, allocations: 0 / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1606, allocations: 4 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1606, allocations: 4.031 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1606, allocations: 0 / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.1609, allocations: 256.1 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1609, allocations: 89.02 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.161, allocations: 4 kB / 488.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.161, allocations: 7.984 kB / 488.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1611, allocations: 15.98 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1611, allocations: 4 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1613, allocations: 181.2 kB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1613, allocations: 0 / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1615, allocations: 20 kB / 488.7 MB, free: 14.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001039/0.1626, allocations: 453.9 kB / 489.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1628, allocations: 107.9 kB / 489.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1629, allocations: 0 / 489.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.163, allocations: 55.91 kB / 489.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1633, allocations: 24.12 kB / 489.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.1639, allocations: 372.7 kB / 489.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1644, allocations: 0.716 MB / 490.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1644, allocations: 19.42 kB / 490.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1644, allocations: 0 / 490.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003974/0.1684, allocations: 2.041 MB / 492.5 MB, free: 10.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.o] Error 1