Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.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.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.002322, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.115/2.115, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001063/0.001062, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2746/0.2746, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.143e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.6046, allocations: 86.97 MB / 0.5577 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.6049, allocations: 71.75 kB / 0.5578 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.008/2.613, allocations: 97.13 MB / 0.6526 GB, free: 8.102 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.529e-06/2.613, allocations: 0 / 0.6526 GB, free: 8.102 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/2.613, allocations: 3.938 kB / 0.6526 GB, free: 8.098 MB / 458.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.005322/2.619, allocations: 439.9 kB / 0.6531 GB, free: 7.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/2.619, allocations: 8.031 kB / 0.6531 GB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/2.619, allocations: 3.953 kB / 0.6531 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/2.619, allocations: 163.1 kB / 0.6532 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/2.619, allocations: 0 / 0.6532 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/2.619, allocations: 4 kB / 0.6532 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/2.619, allocations: 29.69 kB / 0.6533 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/2.619, allocations: 0 / 0.6533 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/2.619, allocations: 0 / 0.6533 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/2.619, allocations: 4 kB / 0.6533 GB, free: 7.363 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/2.619, allocations: 3.938 kB / 0.6533 GB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/2.619, allocations: 149.6 kB / 0.6534 GB, free: 7.164 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/2.62, allocations: 22.61 kB / 0.6534 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/2.62, allocations: 4.859 kB / 0.6534 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/2.62, allocations: 0 / 0.6534 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/2.62, allocations: 60.97 kB / 0.6535 GB, free: 7.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/2.62, allocations: 64 / 0.6535 GB, free: 7.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/2.62, allocations: 63.34 kB / 0.6536 GB, free: 6.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/2.62, allocations: 85.14 kB / 0.6536 GB, free: 6.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/2.62, allocations: 85 kB / 0.6537 GB, free: 6.785 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/2.62, allocations: 29.7 kB / 0.6538 GB, free: 6.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/2.62, allocations: 150.6 kB / 0.6539 GB, free: 6.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/2.62, allocations: 0 / 0.6539 GB, free: 6.602 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/2.62, allocations: 0 / 0.6539 GB, free: 6.602 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/2.62, allocations: 318.8 kB / 0.6542 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/2.62, allocations: 0 / 0.6542 GB, free: 6.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/2.62, allocations: 4 kB / 0.6542 GB, free: 6.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/2.62, allocations: 29.77 kB / 0.6542 GB, free: 6.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/2.62, allocations: 3.938 kB / 0.6542 GB, free: 6.238 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.666e-05/2.62, allocations: 63.41 kB / 0.6543 GB, free: 6.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/2.621, allocations: 29.7 kB / 0.6543 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/2.621, allocations: 0 / 0.6543 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/2.621, allocations: 7.969 kB / 0.6543 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-06/2.621, allocations: 7.938 kB / 0.6543 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/2.621, allocations: 0 / 0.6543 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/2.621, allocations: 0 / 0.6543 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/2.621, allocations: 8.031 kB / 0.6543 GB, free: 6.105 MB / 458.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 () * 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.0001005/2.621, allocations: 134.6 kB / 0.6545 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/2.621, allocations: 3.938 kB / 0.6545 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/2.621, allocations: 3.125 kB / 0.6545 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/2.621, allocations: 0 / 0.6545 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/2.621, allocations: 0 / 0.6545 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/2.621, allocations: 0 / 0.6545 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/2.621, allocations: 153.6 kB / 0.6546 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/2.621, allocations: 0 / 0.6546 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/2.621, allocations: 0 / 0.6546 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/2.621, allocations: 4 kB / 0.6546 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/2.621, allocations: 0 / 0.6546 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/2.621, allocations: 0 / 0.6546 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.621, allocations: 0 / 0.6546 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/2.621, allocations: 94.78 kB / 0.6547 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/2.621, allocations: 77.11 kB / 0.6548 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/2.621, allocations: 3.938 kB / 0.6548 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/2.621, allocations: 8.031 kB / 0.6548 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/2.621, allocations: 0 / 0.6548 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/2.621, allocations: 0 / 0.6548 GB, free: 5.523 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/2.621, allocations: 75.28 kB / 0.6549 GB, free: 5.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.621, allocations: 0 / 0.6549 GB, free: 5.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01293/2.634, allocations: 2.156 MB / 0.657 GB, free: 3.293 MB / 458.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) * 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.02051/2.655, allocations: 2.267 MB / 0.6592 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/2.655, allocations: 59.34 kB / 0.6593 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/2.655, allocations: 0 / 0.6593 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/2.655, allocations: 59.41 kB / 0.6593 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/2.655, allocations: 6.578 kB / 0.6593 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/2.655, allocations: 74.7 kB / 0.6594 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/2.656, allocations: 0.6771 MB / 0.6601 GB, free: 76 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/2.656, allocations: 15.38 kB / 0.6601 GB, free: 60 kB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/2.656, allocations: 0 / 0.6601 GB, free: 60 kB / 458.7 MB Notification: Performance of Templates: time 0.9845/3.64, allocations: 118.3 MB / 0.7756 GB, free: 112.1 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.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.Random.TestDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12038:35: error: use of undeclared identifier \'D_24tmpVar4_\'; did you mean \'D_24tmpVar5_\'?\n D_24tmpVar5_ = std::abs(D_24tmpVar4_);\n ^~~~~~~~~~~~\n D_24tmpVar5_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12013:14: note: \'D_24tmpVar5_\' declared here\n double D_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13095:58: error: use of undeclared identifier \'D_24tmpVar7_\'; did you mean \'D_24tmpVar8_\'?\n Modelica_Math_Distributions_Uniform_cumulative(D_24tmpVar7_, -1.0, 2.0,tmp3074);\n ^~~~~~~~~~~~\n D_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13072:14: note: \'D_24tmpVar8_\' declared here\n double D_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15169:36: error: use of undeclared identifier \'D_24tmpVar10_\'; did you mean \'D_24tmpVar11_\'?\n D_24tmpVar11_ = std::abs(D_24tmpVar10_);\n ^~~~~~~~~~~~~\n D_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15144:14: note: \'D_24tmpVar11_\' declared here\n double D_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16226:57: error: use of undeclared identifier \'D_24tmpVar13_\'; did you mean \'D_24tmpVar14_\'?\n Modelica_Math_Distributions_Normal_cumulative(D_24tmpVar13_, 1.0, 0.5,tmp6096);\n ^~~~~~~~~~~~~\n D_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16203:14: note: \'D_24tmpVar14_\' declared here\n double D_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18300:36: error: use of undeclared identifier \'D_24tmpVar16_\'; did you mean \'D_24tmpVar17_\'?\n D_24tmpVar17_ = std::abs(D_24tmpVar16_);\n ^~~~~~~~~~~~~\n D_24tmpVar17_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18275:14: note: \'D_24tmpVar17_\' declared here\n double D_24tmpVar17_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19357:58: error: use of undeclared identifier \'D_24tmpVar19_\'; did you mean \'D_24tmpVar20_\'?\n Modelica_Math_Distributions_Weibull_cumulative(D_24tmpVar19_, 0.5, 2.0,tmp9118);\n ^~~~~~~~~~~~~\n D_24tmpVar20_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19334:14: note: \'D_24tmpVar20_\' declared here\n double D_24tmpVar20_;\n ^\n6 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1\n'