Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 181.6 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.133/2.133, 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.001096/0.001095, allocations: 93.97 kB / 267.5 MB, free: 14.04 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.2715/0.2715, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.274e-05, allocations: 3.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.6044, allocations: 88.4 MB / 0.5591 GB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.6047, allocations: 74.44 kB / 0.5592 GB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321/1.926, allocations: 71.86 MB / 0.6294 GB, free: 14.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.265e-06/1.926, allocations: 3.938 kB / 0.6294 GB, free: 14.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/1.926, allocations: 0 / 0.6294 GB, free: 14.32 MB / 442.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.004695/1.931, allocations: 463.2 kB / 0.6298 GB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.931, allocations: 12.03 kB / 0.6298 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/1.931, allocations: 3.953 kB / 0.6298 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.931, allocations: 159.1 kB / 0.63 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.931, allocations: 4 kB / 0.63 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/1.931, allocations: 7.875 kB / 0.63 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/1.931, allocations: 29.69 kB / 0.63 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.931, allocations: 4 kB / 0.63 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/1.931, allocations: 0 / 0.63 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.931, allocations: 0 / 0.63 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/1.931, allocations: 0 / 0.63 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/1.931, allocations: 153.5 kB / 0.6302 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/1.931, allocations: 22.59 kB / 0.6302 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/1.931, allocations: 8.797 kB / 0.6302 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/1.931, allocations: 0 / 0.6302 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.931, allocations: 68.31 kB / 0.6303 GB, free: 13.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/1.931, allocations: 0 / 0.6303 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001761/1.932, allocations: 62.53 kB / 0.6303 GB, free: 13.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.932, allocations: 81.11 kB / 0.6304 GB, free: 13.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/1.932, allocations: 85 kB / 0.6305 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.932, allocations: 25.7 kB / 0.6305 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/1.932, allocations: 150.6 kB / 0.6306 GB, free: 12.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/1.932, allocations: 0 / 0.6306 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/1.932, allocations: 0 / 0.6306 GB, free: 12.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/1.932, allocations: 314.8 kB / 0.6309 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/1.932, allocations: 4.031 kB / 0.631 GB, free: 12.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/1.932, allocations: 11.92 kB / 0.631 GB, free: 12.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/1.932, allocations: 29.33 kB / 0.631 GB, free: 12.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.932, allocations: 0 / 0.631 GB, free: 12.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.699e-05/1.932, allocations: 59.41 kB / 0.631 GB, free: 12.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/1.932, allocations: 33.7 kB / 0.6311 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.932, allocations: 0 / 0.6311 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.932, allocations: 0 / 0.6311 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/1.932, allocations: 0 / 0.6311 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.932, allocations: 3.984 kB / 0.6311 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/1.932, allocations: 4.094 kB / 0.6311 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/1.932, allocations: 0 / 0.6311 GB, free: 12.32 MB / 442.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 9.513e-05/1.933, allocations: 134.6 kB / 0.6312 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/1.933, allocations: 7.844 kB / 0.6312 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/1.933, allocations: 3.125 kB / 0.6312 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.933, allocations: 0 / 0.6312 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.933, allocations: 7.938 kB / 0.6312 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.933, allocations: 0 / 0.6312 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/1.933, allocations: 153 kB / 0.6314 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.933, allocations: 4 kB / 0.6314 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-06/1.933, allocations: 0 / 0.6314 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.933, allocations: 3.938 kB / 0.6314 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.933, allocations: 4 kB / 0.6314 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.933, allocations: 0 / 0.6314 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.933, allocations: 0 / 0.6314 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.933, allocations: 94.16 kB / 0.6315 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/1.933, allocations: 77.11 kB / 0.6316 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.933, allocations: 4.031 kB / 0.6316 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/1.933, allocations: 0 / 0.6316 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/1.933, allocations: 0 / 0.6316 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/1.933, allocations: 4 kB / 0.6316 GB, free: 11.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.809e-05/1.933, allocations: 79.17 kB / 0.6316 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.933, allocations: 0 / 0.6316 GB, free: 11.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009428/1.943, allocations: 1.532 MB / 0.6331 GB, free: 10.13 MB / 442.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.01673/1.959, allocations: 2.027 MB / 0.6351 GB, free: 8.102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/1.96, allocations: 58.59 kB / 0.6352 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.96, allocations: 0 / 0.6352 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/1.96, allocations: 55.41 kB / 0.6352 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/1.96, allocations: 2.578 kB / 0.6352 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/1.96, allocations: 93.39 kB / 0.6353 GB, free: 7.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/1.96, allocations: 0.6692 MB / 0.636 GB, free: 7.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/1.96, allocations: 15.38 kB / 0.636 GB, free: 7.141 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/1.96, allocations: 0 / 0.636 GB, free: 7.141 MB / 442.7 MB Notification: Performance of Templates: time 0.8576/2.818, allocations: 84.17 MB / 0.7182 GB, free: 109 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:9170: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.TestTruncatedDistributionsFunctions.cpp:9145:14: note: \'D_24tmpVar5_\' declared here\n double D_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10227:66: error: use of undeclared identifier \'D_24tmpVar7_\'; did you mean \'D_24tmpVar8_\'?\n Modelica_Math_Distributions_TruncatedNormal_cumulative(D_24tmpVar7_, -1.5, 1.5, 0.0, 0.5,tmp3083);\n ^~~~~~~~~~~~\n D_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10204:14: note: \'D_24tmpVar8_\' declared here\n double D_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:12301: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.TestTruncatedDistributionsFunctions.cpp:12276:14: note: \'D_24tmpVar11_\' declared here\n double D_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13358:67: error: use of undeclared identifier \'D_24tmpVar13_\'; did you mean \'D_24tmpVar14_\'?\n Modelica_Math_Distributions_TruncatedWeibull_cumulative(D_24tmpVar13_, 0.0, 0.8, 0.5, 2.0,tmp6105);\n ^~~~~~~~~~~~~\n D_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13335:14: note: \'D_24tmpVar14_\' declared here\n double D_24tmpVar14_;\n ^\n4 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1\n'