Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002499/0.002505, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2961/0.2961, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 12 kB / 431.4 MB, free: 20.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.86 MB / 490.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006715/0.1242, allocations: 212.7 kB / 490.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.1284, allocations: 2.064 MB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-06/0.1284, allocations: 0 / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.1285, allocations: 0 / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.463e-06/0.1285, allocations: 0 / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.1317, allocations: 0.4949 MB / 493 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.1317, allocations: 11.97 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.1318, allocations: 0 / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.1319, allocations: 12 kB / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.132, allocations: 7.984 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.132, allocations: 0 / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1334, allocations: 0.511 MB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.1334, allocations: 0 / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1334, allocations: 25.7 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.1341, allocations: 295.6 kB / 493.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1342, allocations: 0 / 493.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1342, allocations: 4 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1342, allocations: 0 / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004816/0.1347, allocations: 421 kB / 494.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1347, allocations: 8.031 kB / 494.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1348, allocations: 79.28 kB / 494.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.135, allocations: 242.3 kB / 494.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.1351, allocations: 150.6 kB / 494.7 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1351, allocations: 158.5 kB / 494.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.1352, allocations: 101 kB / 495 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.1353, allocations: 75.28 kB / 495 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.1354, allocations: 150.6 kB / 495.2 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.1354, allocations: 154.6 kB / 495.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.1355, allocations: 162.5 kB / 495.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1359, allocations: 441.9 kB / 495.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.136, allocations: 169.1 kB / 496.1 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1361, allocations: 75.28 kB / 496.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.896e-05/0.1362, allocations: 147.5 kB / 496.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.1362, allocations: 0 / 496.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.137e-05/0.1363, allocations: 25.7 kB / 496.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1364, allocations: 156.3 kB / 496.5 MB, free: 2.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/0.1364, allocations: 89.86 kB / 496.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1365, allocations: 29.7 kB / 496.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1366, allocations: 150.6 kB / 496.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-06/0.1366, allocations: 0 / 496.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.1366, allocations: 3.938 kB / 496.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1367, allocations: 318.8 kB / 497.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.1367, allocations: 4 kB / 497.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.1368, allocations: 4 kB / 497.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.1368, allocations: 75.28 kB / 497.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-05/0.1369, allocations: 75.28 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.067e-05/0.137, allocations: 37.69 kB / 497.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.137, allocations: 79.28 kB / 497.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/0.1371, allocations: 83.25 kB / 497.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.497e-05/0.1372, allocations: 150.6 kB / 497.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.1372, allocations: 83.22 kB / 497.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.499e-05/0.1373, allocations: 150.6 kB / 497.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.1374, allocations: 75.28 kB / 497.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.1374, allocations: 79.22 kB / 498 MB, free: 1.34 MB / 330.7 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 (0): * Single equations (assignments): 0 * 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.0001558/0.1376, allocations: 280.3 kB / 498.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.1377, allocations: 109.1 kB / 498.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.1378, allocations: 108.1 kB / 498.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-05/0.1378, allocations: 180.3 kB / 498.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.988e-05/0.1379, allocations: 176.3 kB / 498.8 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.439e-05/0.138, allocations: 192.2 kB / 499 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1383, allocations: 401.2 kB / 499.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-05/0.1384, allocations: 104.9 kB / 499.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.1385, allocations: 101 kB / 499.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.363e-05/0.1386, allocations: 192.2 kB / 499.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.1387, allocations: 176.3 kB / 499.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.886e-05/0.1388, allocations: 184.3 kB / 0.4884 GB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.615e-05/0.1389, allocations: 180.2 kB / 0.4886 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1391, allocations: 303.8 kB / 0.4888 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.1392, allocations: 190 kB / 0.489 GB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1393, allocations: 184.3 kB / 0.4892 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1394, allocations: 112.9 kB / 0.4893 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.1395, allocations: 180.2 kB / 0.4895 GB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.1396, allocations: 104.9 kB / 0.4896 GB, free: 13.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.1396, allocations: 75.28 kB / 0.4897 GB, free: 13.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1396, allocations: 0 / 0.4897 GB, free: 13.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007506/0.1404, allocations: 132 kB / 0.4898 GB, free: 13.53 MB / 346.7 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 (0): * Single equations (assignments): 0 * 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.001216/0.1416, allocations: 416.6 kB / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.1417, allocations: 0 / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1417, allocations: 0 / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.1417, allocations: 0 / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1421, allocations: 0.5224 MB / 0.4907 GB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.1423, allocations: 175.7 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1426, allocations: 0.6731 MB / 0.4915 GB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.1426, allocations: 7.438 kB / 0.4915 GB, free: 11.68 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1427, allocations: 0 / 0.4915 GB, free: 11.68 MB / 346.7 MB Notification: Performance of Templates: time 0.008691/0.1514, allocations: 2.97 MB / 0.4944 GB, free: 8.711 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile b'clang++ -fopenmp=libomp -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_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:219:56: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp7);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:565:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:843:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1301:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp77);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1302:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp78);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1303:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp79);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1304:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp80);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1305:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp81);\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1306:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp82);\n ^\n9 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1\n'