Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009242/0.0009241, allocations: 90.72 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009713/0.0009713, allocations: 196.1 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2546/0.2546, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1499, allocations: 63.48 MB / 482.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002388/0.1524, allocations: 1.408 MB / 483.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1542, allocations: 0.9518 MB / 484.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.1543, allocations: 4 kB / 484.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1547, allocations: 55.8 kB / 484.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.155, allocations: 79.73 kB / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1553, allocations: 87.83 kB / 484.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1555, allocations: 99.67 kB / 484.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1557, allocations: 7.984 kB / 484.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1558, allocations: 47.73 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.1559, allocations: 35.78 kB / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1559, allocations: 0 / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.156, allocations: 35.98 kB / 484.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1561, allocations: 27.91 kB / 485 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.1562, allocations: 41.64 kB / 485 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1564, allocations: 108.1 kB / 485.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1564, allocations: 0 / 485.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1564, allocations: 0 / 485.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1564, allocations: 0 / 485.1 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.0007403/0.1572, allocations: 434.6 kB / 485.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1572, allocations: 8.031 kB / 485.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.1573, allocations: 19.81 kB / 485.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1576, allocations: 215.8 kB / 485.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1576, allocations: 4 kB / 485.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1577, allocations: 4 kB / 485.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1578, allocations: 57.67 kB / 485.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1579, allocations: 3.984 kB / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1579, allocations: 0 / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1579, allocations: 0 / 485.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.158, allocations: 27.92 kB / 485.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1584, allocations: 296.9 kB / 486.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1586, allocations: 54.67 kB / 486.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1587, allocations: 20.86 kB / 486.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1587, allocations: 4 kB / 486.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1589, allocations: 67.31 kB / 486.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.526e-06/0.1589, allocations: 4 kB / 486.3 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.1595, allocations: 189 kB / 486.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1596, allocations: 55.36 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.1598, allocations: 283.1 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1599, allocations: 25.7 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.16, allocations: 124 kB / 487 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.16, allocations: 27.64 kB / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.16, allocations: 0 / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1602, allocations: 334.8 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.1602, allocations: 15.98 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1603, allocations: 41.64 kB / 487.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.1604, allocations: 24 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1604, allocations: 0 / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.1606, allocations: 105.4 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1606, allocations: 6.344 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1606, allocations: 7.969 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1606, allocations: 0 / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.1607, allocations: 19.94 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1607, allocations: 3.984 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.1608, allocations: 11.95 kB / 487.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1608, allocations: 0 / 487.6 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.000117/0.1609, allocations: 133.8 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.161, allocations: 15.81 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.161, allocations: 21.39 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.161, allocations: 8 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.161, allocations: 0 / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.161, allocations: 0 / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1615, allocations: 407.3 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1615, allocations: 0 / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.1615, allocations: 8.375 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1616, allocations: 4 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.1616, allocations: 7.984 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1616, allocations: 7.984 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1616, allocations: 0 / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1618, allocations: 212.1 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.1619, allocations: 92.92 kB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.162, allocations: 3.984 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.162, allocations: 4 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1621, allocations: 11.95 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1621, allocations: 11.98 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1624, allocations: 208.6 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1624, allocations: 4 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1627, allocations: 24 kB / 488.7 MB, free: 14.43 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.001182/0.1638, allocations: 471.5 kB / 489.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.164, allocations: 51.97 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.164, allocations: 0 / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.1641, allocations: 27.94 kB / 489.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1645, allocations: 34.7 kB / 489.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.1651, allocations: 352.9 kB / 489.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1654, allocations: 0.7199 MB / 490.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.1655, allocations: 19.44 kB / 490.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1655, allocations: 0 / 490.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004139/0.1697, allocations: 2.103 MB / 492.5 MB, free: 10.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test6CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.o] Error 1