Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002246, allocations: 181.3 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.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.0011/0.0011, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2784/0.2784, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.408e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6212, allocations: 86.49 MB / 0.5572 GB, free: 1.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6215, allocations: 65.34 kB / 0.5573 GB, free: 1.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241/1.862, allocations: 48.61 MB / 0.6048 GB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.862, allocations: 4 kB / 0.6048 GB, free: 4.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/1.862, allocations: 0 / 0.6048 GB, free: 4.641 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.003001/1.865, allocations: 439.2 kB / 0.6052 GB, free: 4.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.865, allocations: 8.031 kB / 0.6052 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/1.865, allocations: 4 kB / 0.6052 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.865, allocations: 163 kB / 0.6054 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.865, allocations: 0 / 0.6054 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/1.866, allocations: 4 kB / 0.6054 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/1.866, allocations: 45.94 kB / 0.6054 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.866, allocations: 0 / 0.6054 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.866, allocations: 0 / 0.6054 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.866, allocations: 0 / 0.6054 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/1.866, allocations: 0 / 0.6054 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/1.866, allocations: 149.6 kB / 0.6056 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/1.866, allocations: 18.52 kB / 0.6056 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/1.866, allocations: 8.953 kB / 0.6056 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/1.866, allocations: 7.75 kB / 0.6056 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/1.866, allocations: 60.25 kB / 0.6057 GB, free: 3.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/1.866, allocations: 0 / 0.6057 GB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001744/1.866, allocations: 59.41 kB / 0.6057 GB, free: 3.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.866, allocations: 81.05 kB / 0.6058 GB, free: 3.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/1.866, allocations: 85 kB / 0.6059 GB, free: 3.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/1.866, allocations: 25.7 kB / 0.6059 GB, free: 3.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/1.866, allocations: 150.6 kB / 0.606 GB, free: 3.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/1.867, allocations: 7.938 kB / 0.606 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.867, allocations: 0 / 0.606 GB, free: 3.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/1.867, allocations: 317.9 kB / 0.6064 GB, free: 2.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/1.867, allocations: 0 / 0.6064 GB, free: 2.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/1.867, allocations: 0 / 0.6064 GB, free: 2.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/1.867, allocations: 33.69 kB / 0.6064 GB, free: 2.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.867, allocations: 3.953 kB / 0.6064 GB, free: 2.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.341e-05/1.867, allocations: 55.41 kB / 0.6064 GB, free: 2.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.867, allocations: 37.8 kB / 0.6065 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.867, allocations: 0 / 0.6065 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.867, allocations: 0 / 0.6065 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/1.867, allocations: 0 / 0.6065 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.867, allocations: 4.609 kB / 0.6065 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/1.867, allocations: 3.625 kB / 0.6065 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.867, allocations: 7.938 kB / 0.6065 GB, free: 2.664 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 () * 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.265e-05/1.867, allocations: 132.2 kB / 0.6066 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/1.867, allocations: 3.953 kB / 0.6066 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/1.867, allocations: 11.12 kB / 0.6066 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.867, allocations: 0 / 0.6066 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.867, allocations: 0 / 0.6066 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/1.867, allocations: 0 / 0.6066 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/1.867, allocations: 145.7 kB / 0.6068 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.867, allocations: 0 / 0.6068 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-06/1.867, allocations: 3.953 kB / 0.6068 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.867, allocations: 4 kB / 0.6068 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.867, allocations: 0 / 0.6068 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.867, allocations: 3.938 kB / 0.6068 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.867, allocations: 0 / 0.6068 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/1.868, allocations: 94.14 kB / 0.6069 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/1.868, allocations: 77.11 kB / 0.6069 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/1.868, allocations: 3.953 kB / 0.6069 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/1.868, allocations: 3.984 kB / 0.607 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/1.868, allocations: 11.44 kB / 0.607 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.868, allocations: 0 / 0.607 GB, free: 2.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.678e-05/1.868, allocations: 75.31 kB / 0.607 GB, free: 2.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.705e-06/1.868, allocations: 4 kB / 0.607 GB, free: 2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007099/1.875, allocations: 1.312 MB / 0.6083 GB, free: 0.6914 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) * 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.01099/1.886, allocations: 1.216 MB / 0.6095 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/1.886, allocations: 59.41 kB / 0.6096 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.886, allocations: 0 / 0.6096 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/1.886, allocations: 55.34 kB / 0.6096 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/1.886, allocations: 4 kB / 0.6096 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/1.887, allocations: 74.39 kB / 0.6097 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.887, allocations: 0.677 MB / 0.6104 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/1.887, allocations: 11.56 kB / 0.6104 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.887, allocations: 0 / 0.6104 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Templates: time 0.1817/2.069, allocations: 66.91 MB / 0.6757 GB, free: 11.48 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.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.TestSpecialCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8911: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.TestSpecialFunctions.cpp:8886:14: note: \'D_24tmpVar5_\' declared here\n double D_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier \'D_24tmpVar7_\'; did you mean \'D_24tmpVar8_\'?\n Modelica_Math_Special_erfInv(D_24tmpVar7_,tmp2059);\n ^~~~~~~~~~~~\n D_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8941:14: note: \'D_24tmpVar8_\' declared here\n double D_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier \'D_24tmpVar10_\'; did you mean \'D_24tmpVar11_\'?\n ModelicaTest_Math_Random_Internal_erfInvSimple(D_24tmpVar10_,tmp2065);\n ^~~~~~~~~~~~~\n D_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8981:14: note: \'D_24tmpVar11_\' declared here\n double D_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9046:36: error: use of undeclared identifier \'D_24tmpVar13_\'; did you mean \'D_24tmpVar14_\'?\n D_24tmpVar14_ = std::abs(D_24tmpVar13_);\n ^~~~~~~~~~~~~\n D_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9021:14: note: \'D_24tmpVar14_\' declared here\n double D_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier \'D_24tmpVar16_\'; did you mean \'D_24tmpVar17_\'?\n Modelica_Math_Special_erfInv(D_24tmpVar16_,tmp3080);\n ^~~~~~~~~~~~~\n D_24tmpVar17_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10080:14: note: \'D_24tmpVar17_\' declared here\n double D_24tmpVar17_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12175:36: error: use of undeclared identifier \'D_24tmpVar19_\'; did you mean \'D_24tmpVar20_\'?\n D_24tmpVar20_ = std::abs(D_24tmpVar19_);\n ^~~~~~~~~~~~~\n D_24tmpVar20_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12150:14: note: \'D_24tmpVar20_\' declared here\n double D_24tmpVar20_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier \'D_24tmpVar22_\'; did you mean \'D_24tmpVar23_\'?\n Modelica_Math_Special_erfcInv(D_24tmpVar22_,tmp6102);\n ^~~~~~~~~~~~~\n D_24tmpVar23_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13209:14: note: \'D_24tmpVar23_\' declared here\n double D_24tmpVar23_;\n ^\n7 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o] Error 1\n'