Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="//possible continuous states|//possible discrete states",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004537, allocations: 15.98 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005234/0.2746, allocations: 220.4 kB / 369.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.2783, allocations: 2.053 MB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-06/0.2783, allocations: 0 / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.294e-06/0.2783, allocations: 0 / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.431e-06/0.2783, allocations: 0 / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.2809, allocations: 0.4948 MB / 371.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.132e-05/0.2809, allocations: 8 kB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.281, allocations: 3.984 kB / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.269e-05/0.2811, allocations: 15.92 kB / 372 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.2811, allocations: 8 kB / 372 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-06/0.2811, allocations: 0 / 372 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.2822, allocations: 0.5306 MB / 372.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-06/0.2822, allocations: 0 / 372.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.2822, allocations: 25.7 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.2828, allocations: 299.5 kB / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.61e-06/0.2828, allocations: 0 / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.2828, allocations: 0 / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.001e-06/0.2829, allocations: 4 kB / 372.8 MB, free: 7.047 MB / 298.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.0004384/0.2833, allocations: 421 kB / 373.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2833, allocations: 8.031 kB / 373.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.2834, allocations: 79.22 kB / 373.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2836, allocations: 234.4 kB / 373.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.2837, allocations: 158.5 kB / 373.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.2838, allocations: 150.6 kB / 373.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.2839, allocations: 105 kB / 374 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.2839, allocations: 79.23 kB / 374 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.284, allocations: 150.6 kB / 374.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.177e-05/0.2841, allocations: 150.6 kB / 374.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.2842, allocations: 154.5 kB / 374.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.2846, allocations: 450 kB / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2847, allocations: 165.1 kB / 375.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.2847, allocations: 75.28 kB / 375.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.724e-05/0.2848, allocations: 135.5 kB / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.06e-06/0.2849, allocations: 8 kB / 375.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.762e-05/0.285, allocations: 37.58 kB / 375.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.2851, allocations: 152.4 kB / 375.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.2851, allocations: 89.86 kB / 375.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2852, allocations: 25.7 kB / 375.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.2852, allocations: 154.6 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-06/0.2853, allocations: 0 / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-07/0.2853, allocations: 0 / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2854, allocations: 314.8 kB / 376.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-06/0.2854, allocations: 3.938 kB / 376.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.2855, allocations: 0 / 376.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.2855, allocations: 79.28 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-05/0.2856, allocations: 75.28 kB / 376.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.04e-05/0.2857, allocations: 33.62 kB / 376.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.2857, allocations: 83.28 kB / 376.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/0.2858, allocations: 79.28 kB / 376.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.862e-05/0.2859, allocations: 158.5 kB / 376.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.2859, allocations: 79.33 kB / 376.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-05/0.286, allocations: 158.5 kB / 376.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.2861, allocations: 79.22 kB / 376.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2862, allocations: 75.28 kB / 376.9 MB, free: 2.688 MB / 298.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.0001634/0.2864, allocations: 272.4 kB / 377.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.2865, allocations: 104.9 kB / 377.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.2865, allocations: 119.8 kB / 377.4 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-05/0.2866, allocations: 176.3 kB / 377.6 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.149e-05/0.2867, allocations: 180.2 kB / 377.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-05/0.2869, allocations: 184.2 kB / 377.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.2872, allocations: 409.2 kB / 378.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-05/0.2872, allocations: 101.2 kB / 378.4 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.2873, allocations: 101 kB / 378.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.295e-05/0.2874, allocations: 184.2 kB / 378.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.2875, allocations: 184.3 kB / 378.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.697e-05/0.2876, allocations: 188.2 kB / 379.1 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.003e-05/0.2877, allocations: 180.3 kB / 379.3 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.2879, allocations: 311.7 kB / 379.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.2881, allocations: 178.1 kB / 379.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2882, allocations: 188.2 kB / 379.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2883, allocations: 105 kB / 380 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.2884, allocations: 184.2 kB / 380.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.2885, allocations: 105 kB / 380.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.2885, allocations: 75.28 kB / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.2885, allocations: 0 / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006451/0.2892, allocations: 128 kB / 380.5 MB, free: 14.89 MB / 314.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.0009521/0.2902, allocations: 411.6 kB / 380.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.274e-05/0.2902, allocations: 3.938 kB / 380.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2902, allocations: 0 / 380.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-06/0.2903, allocations: 7.938 kB / 380.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.2907, allocations: 0.5301 MB / 381.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.2908, allocations: 167.8 kB / 381.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2912, allocations: 0.6692 MB / 382.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.2912, allocations: 11.44 kB / 382.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.28e-06/0.2912, allocations: 0 / 382.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of Templates: time 0.00902/0.3003, allocations: 2.957 MB / 385.3 MB, free: 10.08 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:216: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:562:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:840:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1298: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1299: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1300: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1301: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1302: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.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1303: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.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1\n'