Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009686/0.0009685, allocations: 93.17 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.001248/0.001248, 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.492/1.492, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 45.91 MB / 344.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 16 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1456, allocations: 63.47 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002138/0.1478, allocations: 1.411 MB / 483.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1494, allocations: 0.9441 MB / 484.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.1495, allocations: 3.938 kB / 484.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1498, allocations: 43.83 kB / 484.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1501, allocations: 75.73 kB / 484.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1504, allocations: 87.83 kB / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1506, allocations: 87.7 kB / 484.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1507, allocations: 11.97 kB / 484.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1508, allocations: 43.78 kB / 484.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.1509, allocations: 35.8 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1509, allocations: 0 / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.151, allocations: 31.98 kB / 484.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.151, allocations: 19.91 kB / 484.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.1511, allocations: 37.64 kB / 485 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1513, allocations: 92.09 kB / 485 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1513, allocations: 0 / 485 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1513, allocations: 0 / 485 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1513, allocations: 0 / 485 MB, free: 2.43 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.0005851/0.1519, allocations: 398.9 kB / 485.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.152, allocations: 8.031 kB / 485.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.152, allocations: 15.81 kB / 485.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1523, allocations: 206.8 kB / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1523, allocations: 4 kB / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1523, allocations: 0 / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1525, allocations: 61.61 kB / 485.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1525, allocations: 0 / 485.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1525, allocations: 4 kB / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1525, allocations: 0 / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.1526, allocations: 19.98 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.153, allocations: 284.9 kB / 486 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1532, allocations: 58.61 kB / 486.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.1532, allocations: 24.84 kB / 486.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1533, allocations: 4 kB / 486.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1535, allocations: 67.33 kB / 486.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1535, allocations: 0 / 486.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.1541, allocations: 169.2 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.1541, allocations: 63.34 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1543, allocations: 176.8 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1544, allocations: 25.7 kB / 486.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1545, allocations: 116 kB / 486.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1545, allocations: 23.73 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.1545, allocations: 0 / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1546, allocations: 322.8 kB / 487.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.1547, allocations: 20 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1548, allocations: 37.64 kB / 487.1 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.1548, allocations: 20 kB / 487.1 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1549, allocations: 4 kB / 487.1 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.155, allocations: 105.5 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1551, allocations: 7.938 kB / 487.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.1551, allocations: 0 / 487.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1551, allocations: 128 / 487.2 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.1552, allocations: 23.92 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1552, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.1553, allocations: 7.953 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1553, allocations: 0 / 487.3 MB, free: 15.96 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.0001229/0.1554, allocations: 132.4 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1555, allocations: 11.91 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.1555, allocations: 13.41 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1555, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1555, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1555, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.156, allocations: 407.3 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.156, allocations: 4.406 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1561, allocations: 11.94 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1561, allocations: 0 / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1561, allocations: 8 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1561, allocations: 3.953 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1561, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1563, allocations: 208.2 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1564, allocations: 93.11 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.1564, allocations: 4 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1565, allocations: 11.92 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1566, allocations: 7.953 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1566, allocations: 4 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1567, allocations: 144.8 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 0 / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.157, allocations: 23.88 kB / 488.3 MB, free: 14.8 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.001066/0.1581, allocations: 458.2 kB / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1583, allocations: 55.91 kB / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1583, allocations: 64 / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.1583, allocations: 35.98 kB / 488.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1587, allocations: 23.98 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1592, allocations: 268.4 kB / 489.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1595, allocations: 0.7043 MB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1595, allocations: 15.44 kB / 489.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1595, allocations: 0 / 489.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.004064/0.1636, allocations: 1.904 MB / 491.8 MB, free: 11.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.o] Error 1