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.002421/0.002421, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.137 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: 102.5 kB / 270.9 MB, free: 8.383 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.4917/0.4917, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1259, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5811, allocations: 86.57 MB / 0.5633 GB, free: 184 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.5814, allocations: 63.97 kB / 0.5633 GB, free: 120 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/1.769, allocations: 48.65 MB / 0.6108 GB, free: 15.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.769, allocations: 0 / 0.6108 GB, free: 15.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/1.769, allocations: 0 / 0.6108 GB, free: 15.44 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.003027/1.772, allocations: 444.8 kB / 0.6113 GB, free: 14.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.772, allocations: 12.03 kB / 0.6113 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/1.772, allocations: 3.438 kB / 0.6113 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/1.772, allocations: 159.1 kB / 0.6114 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.772, allocations: 3.938 kB / 0.6114 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/1.772, allocations: 0 / 0.6114 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/1.772, allocations: 29.7 kB / 0.6115 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.772, allocations: 0 / 0.6115 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/1.772, allocations: 0 / 0.6115 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.772, allocations: 0 / 0.6115 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/1.772, allocations: 13.02 kB / 0.6115 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/1.773, allocations: 149.6 kB / 0.6116 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/1.773, allocations: 19.08 kB / 0.6116 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/1.773, allocations: 96 / 0.6116 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/1.773, allocations: 60.27 kB / 0.6117 GB, free: 14.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/1.773, allocations: 0 / 0.6117 GB, free: 14.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001995/1.773, allocations: 76.31 kB / 0.6118 GB, free: 14.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.773, allocations: 77.11 kB / 0.6118 GB, free: 14.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/1.773, allocations: 85 kB / 0.6119 GB, free: 14.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/1.773, allocations: 25.7 kB / 0.612 GB, free: 14.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/1.773, allocations: 154.5 kB / 0.6121 GB, free: 13.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/1.773, allocations: 2.031 kB / 0.6121 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/1.773, allocations: 5.406 kB / 0.6121 GB, free: 13.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/1.773, allocations: 310.8 kB / 0.6124 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/1.773, allocations: 128 / 0.6124 GB, free: 13.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-06/1.773, allocations: 7.938 kB / 0.6124 GB, free: 13.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/1.773, allocations: 33.69 kB / 0.6124 GB, free: 13.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.774, allocations: 0 / 0.6124 GB, free: 13.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.347e-05/1.774, allocations: 63.36 kB / 0.6125 GB, free: 13.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/1.774, allocations: 33.7 kB / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.774, allocations: 0 / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.774, allocations: 0 / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/1.774, allocations: 0 / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.774, allocations: 1.406 kB / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/1.774, allocations: 4.094 kB / 0.6125 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/1.774, allocations: 8 kB / 0.6125 GB, free: 13.46 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 () * 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.0001068/1.774, allocations: 139.5 kB / 0.6127 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/1.774, allocations: 6.672 kB / 0.6127 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/1.774, allocations: 11.11 kB / 0.6127 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.774, allocations: 0 / 0.6127 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.774, allocations: 0 / 0.6127 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.774, allocations: 0 / 0.6127 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/1.774, allocations: 149.7 kB / 0.6128 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.774, allocations: 4 kB / 0.6128 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/1.774, allocations: 3.938 kB / 0.6128 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.774, allocations: 7.953 kB / 0.6129 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/1.774, allocations: 0 / 0.6129 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.774, allocations: 0 / 0.6129 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.774, allocations: 0 / 0.6129 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.774, allocations: 90.83 kB / 0.6129 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/1.774, allocations: 77.11 kB / 0.613 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.774, allocations: 7.984 kB / 0.613 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/1.774, allocations: 0 / 0.613 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/1.774, allocations: 4 kB / 0.613 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/1.774, allocations: 0 / 0.613 GB, free: 12.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.046e-05/1.775, allocations: 75.28 kB / 0.6131 GB, free: 12.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.775, allocations: 3.938 kB / 0.6131 GB, free: 12.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007175/1.782, allocations: 1.308 MB / 0.6144 GB, free: 11.48 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) * 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.01069/1.792, allocations: 1.202 MB / 0.6156 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/1.793, allocations: 59.34 kB / 0.6156 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.793, allocations: 0 / 0.6156 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/1.793, allocations: 59.47 kB / 0.6157 GB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/1.793, allocations: 8.484 kB / 0.6157 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/1.793, allocations: 111.1 kB / 0.6158 GB, free: 9.984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.793, allocations: 0.6731 MB / 0.6164 GB, free: 9.285 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/1.793, allocations: 7.438 kB / 0.6164 GB, free: 9.277 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/1.793, allocations: 0 / 0.6164 GB, free: 9.277 MB / 442.7 MB Notification: Performance of Templates: time 0.7884/2.582, allocations: 67.55 MB / 0.6824 GB, free: 90.31 MB / 490.8 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:39: error: use of undeclared identifier \'_omcQ_24tmpVar4_\'; did you mean \'_omcQ_24tmpVar5_\'?\n _omcQ_24tmpVar5_ = std::abs(_omcQ_24tmpVar4_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar5_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8886:14: note: \'_omcQ_24tmpVar5_\' declared here\n double _omcQ_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier \'_omcQ_24tmpVar7_\'; did you mean \'_omcQ_24tmpVar8_\'?\n Modelica_Math_Special_erfInv(_omcQ_24tmpVar7_,tmp2059);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8941:14: note: \'_omcQ_24tmpVar8_\' declared here\n double _omcQ_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier \'_omcQ_24tmpVar10_\'; did you mean \'_omcQ_24tmpVar11_\'?\n ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQ_24tmpVar10_,tmp2065);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8981:14: note: \'_omcQ_24tmpVar11_\' declared here\n double _omcQ_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9046:40: error: use of undeclared identifier \'_omcQ_24tmpVar13_\'; did you mean \'_omcQ_24tmpVar14_\'?\n _omcQ_24tmpVar14_ = std::abs(_omcQ_24tmpVar13_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9021:14: note: \'_omcQ_24tmpVar14_\' declared here\n double _omcQ_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier \'_omcQ_24tmpVar16_\'; did you mean \'_omcQ_24tmpVar17_\'?\n Modelica_Math_Special_erfInv(_omcQ_24tmpVar16_,tmp3080);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar17_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10080:14: note: \'_omcQ_24tmpVar17_\' declared here\n double _omcQ_24tmpVar17_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12175:40: error: use of undeclared identifier \'_omcQ_24tmpVar19_\'; did you mean \'_omcQ_24tmpVar20_\'?\n _omcQ_24tmpVar20_ = std::abs(_omcQ_24tmpVar19_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar20_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12150:14: note: \'_omcQ_24tmpVar20_\' declared here\n double _omcQ_24tmpVar20_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier \'_omcQ_24tmpVar22_\'; did you mean \'_omcQ_24tmpVar23_\'?\n Modelica_Math_Special_erfcInv(_omcQ_24tmpVar22_,tmp6102);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar23_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13209:14: note: \'_omcQ_24tmpVar23_\' declared here\n double _omcQ_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'