Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009579/0.0009578, allocations: 95.47 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.001/0.001001, allocations: 197.9 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.51/1.51, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2751/0.2751, allocations: 45.91 MB / 344.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 11.98 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 63.47 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001888/0.1472, allocations: 1.415 MB / 483.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1486, allocations: 0.9519 MB / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.1487, allocations: 3.938 kB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.149, allocations: 71.83 kB / 484.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1493, allocations: 95.7 kB / 484.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1496, allocations: 95.14 kB / 484.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1498, allocations: 99.67 kB / 484.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1499, allocations: 12 kB / 484.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.15, allocations: 47.72 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1501, allocations: 51.81 kB / 485 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1502, allocations: 0 / 485 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.1502, allocations: 39.98 kB / 485 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.1503, allocations: 27.84 kB / 485 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.1504, allocations: 33.7 kB / 485.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1505, allocations: 96.03 kB / 485.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1505, allocations: 0 / 485.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1505, allocations: 0 / 485.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1506, allocations: 0 / 485.2 MB, free: 2.363 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.0005905/0.1512, allocations: 414.8 kB / 485.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1512, allocations: 12.03 kB / 485.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.1513, allocations: 11.81 kB / 485.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1515, allocations: 207.3 kB / 485.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1515, allocations: 8 kB / 485.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1516, allocations: 4 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1517, allocations: 57.61 kB / 485.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1517, allocations: 0 / 485.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1518, allocations: 0 / 485.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1518, allocations: 4 kB / 485.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.1518, allocations: 15.98 kB / 485.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1522, allocations: 288.9 kB / 486.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1524, allocations: 62.62 kB / 486.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1525, allocations: 20.84 kB / 486.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1525, allocations: 3.984 kB / 486.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1527, allocations: 67.39 kB / 486.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1527, allocations: 0 / 486.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.1533, allocations: 181 kB / 486.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1533, allocations: 59.36 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1536, allocations: 220.3 kB / 486.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.1536, allocations: 29.7 kB / 486.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1537, allocations: 112.1 kB / 486.9 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1537, allocations: 23.66 kB / 486.9 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1537, allocations: 0 / 486.9 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1539, allocations: 326.8 kB / 487.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.154, allocations: 23.98 kB / 487.3 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.154, allocations: 41.69 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.1541, allocations: 24 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1541, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1543, allocations: 109.5 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1543, allocations: 4 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1543, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1544, allocations: 8.031 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1545, allocations: 15.94 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1545, allocations: 3.984 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1545, allocations: 11.95 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1545, allocations: 4.375 kB / 487.5 MB, free: 15.8 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.0001119/0.1547, allocations: 125.8 kB / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1547, allocations: 15.81 kB / 487.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1547, allocations: 17.41 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1547, allocations: 8 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1548, allocations: 4 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1548, allocations: 0 / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.1552, allocations: 399.3 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1552, allocations: 0 / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1553, allocations: 8 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1553, allocations: 4 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1553, allocations: 3.984 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1553, allocations: 11.92 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1553, allocations: 0 / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1556, allocations: 200.2 kB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.1556, allocations: 85.02 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1557, allocations: 11.98 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.1557, allocations: 4 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1558, allocations: 7.953 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1558, allocations: 7.984 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.156, allocations: 165.2 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 3.828 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1562, allocations: 27.98 kB / 488.6 MB, free: 14.61 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.001072/0.1573, allocations: 453.8 kB / 489 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1575, allocations: 47.98 kB / 489.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1575, allocations: 0 / 489.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.1576, allocations: 35.92 kB / 489.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1579, allocations: 24.11 kB / 489.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.1585, allocations: 304.6 kB / 489.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1588, allocations: 0.7122 MB / 490.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1589, allocations: 19.42 kB / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1589, allocations: 0 / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004028/0.1629, allocations: 1.981 MB / 492.1 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.o] Error 1