Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 94.48 kB / 16.33 MB, free: 5.938 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.0009102/0.0009102, allocations: 187.8 kB / 17.22 MB, free: 5.859 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.547/1.547, allocations: 205.4 MB / 223.4 MB, free: 5.566 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.3613/0.3613, allocations: 43.55 MB / 315.2 MB, free: 8.828 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.0005515/0.0005516, allocations: 18.66 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002144/0.1377, allocations: 1.61 MB / 445 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1391, allocations: 0.9059 MB / 445.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1392, allocations: 0 / 445.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1394, allocations: 31.84 kB / 446 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1397, allocations: 127.5 kB / 446.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008382/0.1405, allocations: 367.4 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.1408, allocations: 215.3 kB / 446.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.141, allocations: 44.42 kB / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1412, allocations: 103.6 kB / 446.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1414, allocations: 151.4 kB / 446.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1415, allocations: 4 kB / 447 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1416, allocations: 32 kB / 447 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1417, allocations: 127.6 kB / 447.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.1418, allocations: 77.45 kB / 447.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.142, allocations: 251.8 kB / 447.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1421, allocations: 7.938 kB / 447.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1421, allocations: 0 / 447.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1421, allocations: 0 / 447.4 MB, free: 9.004 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007972/0.1429, allocations: 0.6842 MB / 448.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1429, allocations: 8.031 kB / 448.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.143, allocations: 51.34 kB / 448.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.1435, allocations: 407.2 kB / 448.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1435, allocations: 19.92 kB / 448.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1436, allocations: 12 kB / 448.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1438, allocations: 123.3 kB / 448.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1438, allocations: 4 kB / 448.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1439, allocations: 8 kB / 448.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1439, allocations: 3.953 kB / 448.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1441, allocations: 91.94 kB / 448.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.145, allocations: 0.6604 MB / 449.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1452, allocations: 105.2 kB / 449.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1453, allocations: 49.77 kB / 449.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1454, allocations: 4 kB / 449.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1454, allocations: 34.56 kB / 449.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1454, allocations: 224 / 449.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001279/0.1467, allocations: 0.5372 MB / 450.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.1468, allocations: 85.05 kB / 450.3 MB, free: 5.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.1476, allocations: 0.8426 MB / 451.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1477, allocations: 29.7 kB / 451.2 MB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1479, allocations: 240.3 kB / 451.4 MB, free: 4.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.1479, allocations: 55.17 kB / 451.5 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.1479, allocations: 12 kB / 451.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1481, allocations: 362.8 kB / 451.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1483, allocations: 59.97 kB / 451.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1484, allocations: 81.67 kB / 452 MB, free: 4.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1486, allocations: 67.97 kB / 452 MB, free: 4.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1486, allocations: 3.938 kB / 452 MB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004229/0.149, allocations: 233 kB / 452.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1491, allocations: 4 kB / 452.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1491, allocations: 0 / 452.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1491, allocations: 4 kB / 452.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1493, allocations: 51.89 kB / 452.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1493, allocations: 3.953 kB / 452.3 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1495, allocations: 12 kB / 452.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1495, allocations: 11.98 kB / 452.4 MB, free: 3.82 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000196/0.1497, allocations: 205.8 kB / 452.6 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1498, allocations: 51.34 kB / 452.6 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.1503, allocations: 286.8 kB / 452.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1503, allocations: 4 kB / 452.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1504, allocations: 0 / 452.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1504, allocations: 3.953 kB / 452.9 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1514, allocations: 0.7747 MB / 453.7 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1515, allocations: 3.984 kB / 453.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1516, allocations: 43.97 kB / 453.7 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1516, allocations: 3.953 kB / 453.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1516, allocations: 8 kB / 453.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1517, allocations: 0 / 453.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1517, allocations: 0 / 453.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.1522, allocations: 413.8 kB / 454.1 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1523, allocations: 144.4 kB / 454.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.1524, allocations: 19.88 kB / 454.3 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1525, allocations: 12 kB / 454.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.1526, allocations: 19.97 kB / 454.3 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1526, allocations: 4 kB / 454.3 MB, free: 1.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000668/0.1533, allocations: 0.6159 MB / 454.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1533, allocations: 0 / 454.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.1537, allocations: 55.98 kB / 455 MB, free: 1.07 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000926/0.1546, allocations: 411.2 kB / 455.4 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.155, allocations: 147.9 kB / 455.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.155, allocations: 4 kB / 455.5 MB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1552, allocations: 88.36 kB / 455.6 MB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.1557, allocations: 78.28 kB / 455.7 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2037/0.3594, allocations: 0.9349 MB / 456.6 MB, free: 46.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3597, allocations: 0.8425 MB / 457.5 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3599, allocations: 37.98 kB / 457.5 MB, free: 46.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3599, allocations: 0 / 457.5 MB, free: 46.08 MB / 382.1 MB Notification: Performance of Templates: time 0.006458/0.3663, allocations: 5.254 MB / 462.8 MB, free: 45.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22CalcHelperMain.o] Error 1