Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009754, allocations: 89.55 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.001289/0.001289, allocations: 201.6 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.482/1.482, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002801, allocations: 12 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00272/0.1425, allocations: 1.427 MB / 483.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1441, allocations: 0.948 MB / 484.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.1442, allocations: 0 / 484.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1446, allocations: 63.73 kB / 484.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1448, allocations: 79.73 kB / 484.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1451, allocations: 91.77 kB / 484.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1453, allocations: 91.69 kB / 484.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.1454, allocations: 8 kB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.1455, allocations: 47.77 kB / 484.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.1456, allocations: 39.78 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1456, allocations: 0 / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.1457, allocations: 32 kB / 484.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.1457, allocations: 31.83 kB / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1458, allocations: 41.64 kB / 485 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.146, allocations: 104.1 kB / 485.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.146, allocations: 0 / 485.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.146, allocations: 4 kB / 485.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.146, allocations: 0 / 485.1 MB, free: 2.383 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.000616/0.1466, allocations: 430.6 kB / 485.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1467, allocations: 8.031 kB / 485.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.1468, allocations: 15.81 kB / 485.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1471, allocations: 219.7 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1471, allocations: 3.984 kB / 485.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1471, allocations: 4 kB / 485.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1473, allocations: 57.67 kB / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1473, allocations: 0 / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1473, allocations: 0 / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1473, allocations: 0 / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.1474, allocations: 23.92 kB / 485.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1479, allocations: 292.9 kB / 486.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.148, allocations: 58.69 kB / 486.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.1481, allocations: 20.84 kB / 486.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1481, allocations: 7.938 kB / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1483, allocations: 63.39 kB / 486.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1483, allocations: 0 / 486.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005786/0.1489, allocations: 185 kB / 486.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.149, allocations: 59.36 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1493, allocations: 268 kB / 486.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1493, allocations: 29.7 kB / 486.8 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.1494, allocations: 116.1 kB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.1495, allocations: 23.7 kB / 487 MB, free: 332 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.1495, allocations: 0 / 487 MB, free: 332 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1496, allocations: 326.8 kB / 487.3 MB, free: 16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.1497, allocations: 23.98 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.1498, allocations: 37.7 kB / 487.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.1498, allocations: 23.98 kB / 487.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1499, allocations: 7.938 kB / 487.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.15, allocations: 97.48 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1501, allocations: 8.188 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1501, allocations: 0 / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1501, allocations: 3.938 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.1502, allocations: 27.91 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1502, allocations: 4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.1503, allocations: 12.25 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1503, allocations: 4 kB / 487.5 MB, free: 15.74 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.0001218/0.1504, allocations: 133.8 kB / 487.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1505, allocations: 15.81 kB / 487.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.1505, allocations: 21.39 kB / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1505, allocations: 0 / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1505, allocations: 7.984 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1505, allocations: 4 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.151, allocations: 407.3 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.151, allocations: 0 / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.1511, allocations: 8 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1511, allocations: 4 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1511, allocations: 4 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1511, allocations: 3.953 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1511, allocations: 0 / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1514, allocations: 212.2 kB / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.1514, allocations: 92.92 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1515, allocations: 0 / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1515, allocations: 7.984 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1516, allocations: 7.953 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1516, allocations: 12 kB / 488.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1518, allocations: 200.6 kB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1518, allocations: 0 / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.152, 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: 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.00111/0.1532, allocations: 463.6 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1533, allocations: 55.97 kB / 489.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1534, allocations: 0 / 489.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.1534, allocations: 31.92 kB / 489.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1538, allocations: 23.98 kB / 489.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.1544, allocations: 344.7 kB / 489.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1547, allocations: 0.7212 MB / 490.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1548, allocations: 15.44 kB / 490.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1548, allocations: 4 kB / 490.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005024/0.1598, allocations: 2.082 MB / 492.4 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.o] Error 1