Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007681/0.000768, allocations: 95.77 kB / 16.33 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 184.8 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3523/0.3523, allocations: 43.55 MB / 315.2 MB, free: 8.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005685/0.0005685, allocations: 18.97 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.137, allocations: 58.85 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002404/0.1394, allocations: 1.272 MB / 444.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.1402, allocations: 291.8 kB / 445 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1402, allocations: 4 kB / 445 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1405, allocations: 23.91 kB / 445 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1407, allocations: 35.91 kB / 445 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.141, allocations: 67.8 kB / 445.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1412, allocations: 55.83 kB / 445.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1413, allocations: 16.16 kB / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.1414, allocations: 23.92 kB / 445.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1415, allocations: 31.84 kB / 445.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1415, allocations: 0 / 445.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.1416, allocations: 31.98 kB / 445.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.1417, allocations: 7.938 kB / 445.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1417, allocations: 37.58 kB / 445.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1419, allocations: 68.06 kB / 445.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1419, allocations: 0 / 445.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1419, allocations: 0 / 445.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1419, allocations: 0 / 445.4 MB, free: 11.08 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005888/0.1425, allocations: 383 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1426, allocations: 12.02 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1426, allocations: 15.86 kB / 445.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1429, allocations: 183 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.143, allocations: 8 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.143, allocations: 4 kB / 446 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1432, allocations: 65.61 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1433, allocations: 0 / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1433, allocations: 0 / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1433, allocations: 4 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1434, allocations: 43.92 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1439, allocations: 284.8 kB / 446.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1441, allocations: 54.5 kB / 446.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.1441, allocations: 24.97 kB / 446.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1442, allocations: 4.062 kB / 446.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1442, allocations: 34.56 kB / 446.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.266e-06/0.1442, allocations: 3.984 kB / 446.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007529/0.145, allocations: 197.2 kB / 446.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1451, allocations: 51.41 kB / 446.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1452, allocations: 153.9 kB / 446.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1453, allocations: 33.7 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.1454, allocations: 100 kB / 447 MB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1454, allocations: 27.61 kB / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1454, allocations: 0 / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1456, allocations: 318.8 kB / 447.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.1457, allocations: 27.98 kB / 447.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.1458, allocations: 35.97 kB / 447.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.1458, allocations: 27.98 kB / 447.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1458, allocations: 0 / 447.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.1461, allocations: 109.5 kB / 447.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1461, allocations: 15.28 kB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1461, allocations: 0 / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1461, allocations: 0 / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1462, allocations: 19.98 kB / 447.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1462, allocations: 0 / 447.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.1463, allocations: 11.98 kB / 447.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1463, allocations: 4 kB / 447.6 MB, free: 8.656 MB / 382.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 (8): * Single equations (assignments): 8 * 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 9.867e-05/0.1464, allocations: 125.7 kB / 447.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1464, allocations: 11.86 kB / 447.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1467, allocations: 122.3 kB / 447.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1467, allocations: 0 / 447.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1468, allocations: 0 / 447.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1468, allocations: 4 kB / 447.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.1473, allocations: 394.8 kB / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1473, allocations: 0 / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.1473, allocations: 23.98 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1474, allocations: 8 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1474, allocations: 0 / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1474, allocations: 0 / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1474, allocations: 0 / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1476, allocations: 203.8 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1477, allocations: 92.95 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1477, allocations: 8 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.1478, allocations: 4 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1478, allocations: 11.97 kB / 448.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1478, allocations: 0 / 448.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.148, allocations: 127.1 kB / 448.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 448.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1483, allocations: 16 kB / 448.7 MB, free: 7.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0009961/0.1493, allocations: 397.2 kB / 449.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1495, allocations: 75.89 kB / 449.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1495, allocations: 0 / 449.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.1496, allocations: 39.97 kB / 449.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1499, allocations: 16 kB / 449.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.1503, allocations: 242.7 kB / 449.5 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1506, allocations: 0.7004 MB / 450.2 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1506, allocations: 15.44 kB / 450.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1506, allocations: 0 / 450.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of Templates: time 0.002957/0.1536, allocations: 1.513 MB / 451.7 MB, free: 4.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29CalcHelperMain.o] Error 1