Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002236/0.002235, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.338/2.338, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001129/0.001129, allocations: 96.08 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.507/0.507, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004646, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5923, allocations: 88.67 MB / 0.5653 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5926, allocations: 67.91 kB / 0.5654 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.7097, allocations: 25.72 MB / 0.5905 GB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7097, allocations: 0 / 0.5905 GB, free: 4.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.7098, allocations: 0 / 0.5905 GB, free: 4.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007704/0.7105, allocations: 441.8 kB / 0.5909 GB, free: 3.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7106, allocations: 12.03 kB / 0.5909 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.7106, allocations: 7.438 kB / 0.5909 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7108, allocations: 163.1 kB / 0.5911 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7108, allocations: 0 / 0.5911 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.7108, allocations: 0 / 0.5911 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.5e-05/0.7109, allocations: 33.7 kB / 0.5911 GB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7109, allocations: 7.922 kB / 0.5911 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.711, allocations: 1.031 kB / 0.5911 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.711, allocations: 0 / 0.5911 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.711, allocations: 4 kB / 0.5911 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.7112, allocations: 149.6 kB / 0.5913 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.7112, allocations: 14.58 kB / 0.5913 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.7112, allocations: 0 / 0.5913 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.7113, allocations: 64.36 kB / 0.5914 GB, free: 3.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.7113, allocations: 0 / 0.5914 GB, free: 3.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002029/0.7115, allocations: 67.33 kB / 0.5914 GB, free: 3.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.7116, allocations: 77.86 kB / 0.5915 GB, free: 3.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.7117, allocations: 89.12 kB / 0.5916 GB, free: 2.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.7117, allocations: 25.7 kB / 0.5916 GB, free: 2.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.7118, allocations: 150.6 kB / 0.5917 GB, free: 2.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.7118, allocations: 2.031 kB / 0.5918 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.7118, allocations: 0 / 0.5918 GB, free: 2.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7119, allocations: 322.8 kB / 0.5921 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.712, allocations: 0 / 0.5921 GB, free: 2.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.712, allocations: 7.266 kB / 0.5921 GB, free: 2.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.712, allocations: 29.77 kB / 0.5921 GB, free: 2.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.712, allocations: 4 kB / 0.5921 GB, free: 2.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.625e-05/0.7121, allocations: 59.34 kB / 0.5922 GB, free: 2.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.7122, allocations: 33.7 kB / 0.5922 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7122, allocations: 0 / 0.5922 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7122, allocations: 0 / 0.5922 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.7122, allocations: 0 / 0.5922 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7123, allocations: 3.984 kB / 0.5922 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.7123, allocations: 0 / 0.5922 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.7123, allocations: 3.938 kB / 0.5922 GB, free: 2.293 MB / 410.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001041/0.7124, allocations: 151.5 kB / 0.5923 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.7124, allocations: 0 / 0.5923 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.7125, allocations: 3.125 kB / 0.5923 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.7125, allocations: 0 / 0.5923 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7125, allocations: 3.984 kB / 0.5923 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7125, allocations: 4 kB / 0.5923 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.7126, allocations: 149.6 kB / 0.5925 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7126, allocations: 0 / 0.5925 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.7127, allocations: 0 / 0.5925 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.7127, allocations: 0 / 0.5925 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.7127, allocations: 4 kB / 0.5925 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7127, allocations: 5.797 kB / 0.5925 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7127, allocations: 0 / 0.5925 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.7128, allocations: 90.77 kB / 0.5926 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.7129, allocations: 81.06 kB / 0.5927 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7129, allocations: 4 kB / 0.5927 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.7129, allocations: 0 / 0.5927 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.713, allocations: 4.031 kB / 0.5927 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.713, allocations: 4 kB / 0.5927 GB, free: 1.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3e-05/0.713, allocations: 75.28 kB / 0.5927 GB, free: 1.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.713, allocations: 0 / 0.5927 GB, free: 1.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009021/0.7139, allocations: 167.8 kB / 0.5929 GB, free: 1.457 MB / 410.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001287/0.7152, allocations: 347.1 kB / 0.5932 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.7154, allocations: 55.41 kB / 0.5933 GB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7154, allocations: 4.062 kB / 0.5933 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.7155, allocations: 59.34 kB / 0.5934 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.999e-05/0.7156, allocations: 3.984 kB / 0.5934 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.7158, allocations: 104.5 kB / 0.5935 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.7161, allocations: 0.6731 MB / 0.5941 GB, free: 156 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.7161, allocations: 11.44 kB / 0.5941 GB, free: 144 kB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7161, allocations: 0 / 0.5941 GB, free: 144 kB / 410.7 MB Notification: Performance of Templates: time 0.01068/0.7268, allocations: 3.929 MB / 0.598 GB, free: 12.21 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.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=2 -DSUNDIALS_MINOR_VERSION=6 -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.TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:226:47: error: use of undeclared identifier \'_omcQ_24tmpVar8_\'; did you mean \'_omcQ_24tmpVar9_\'?\n _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar9_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:198:22: note: \'_omcQ_24tmpVar9_\' declared here\n double _omcQ_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:296:52: error: use of undeclared identifier \'_omcQ_24tmpVar11_\'; did you mean \'_omcQ_24tmpVar12_\'?\n _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar12_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:268:26: note: \'_omcQ_24tmpVar12_\' declared here\n double _omcQ_24tmpVar12_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o] Error 1\n'