Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009959, allocations: 88.69 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 182.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2806/0.2806, allocations: 43.59 MB / 315.6 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000574/0.000574, allocations: 17.27 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 58.87 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0006549/0.1341, allocations: 232.7 kB / 444.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.137, allocations: 2.104 MB / 446.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1371, allocations: 0 / 446.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1371, allocations: 3.938 kB / 446.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-06/0.1371, allocations: 0 / 446.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1384, allocations: 426.3 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.705e-05/0.1385, allocations: 4 kB / 446.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/0.1385, allocations: 11.98 kB / 446.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.1386, allocations: 0 / 446.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.368e-05/0.1386, allocations: 0 / 446.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1386, allocations: 0 / 446.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.1396, allocations: 0.6394 MB / 447.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.1396, allocations: 4 kB / 447.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.1397, allocations: 29.7 kB / 447.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.1401, allocations: 251.8 kB / 447.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1401, allocations: 4 kB / 447.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1401, allocations: 0 / 447.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1401, allocations: 0 / 447.8 MB, free: 1.457 MB / 318.1 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.0004224/0.1405, allocations: 413.2 kB / 448.2 MB, free: 1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1406, allocations: 8.031 kB / 448.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1406, allocations: 8.844 kB / 448.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.1407, allocations: 160.4 kB / 448.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1407, allocations: 384 / 448.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1407, allocations: 384 / 448.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.1408, allocations: 45.94 kB / 448.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.1408, allocations: 0 / 448.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1409, allocations: 0 / 448.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1409, allocations: 0 / 448.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.1409, allocations: 3.984 kB / 448.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.141, allocations: 149.7 kB / 448.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.141, allocations: 14.58 kB / 448.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.1411, allocations: 4.859 kB / 448.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1411, allocations: 4.094 kB / 448.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1411, allocations: 68.14 kB / 448.6 MB, free: 432 kB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1411, allocations: 0 / 448.6 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.1413, allocations: 67.39 kB / 448.7 MB, free: 352 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1414, allocations: 77.11 kB / 448.8 MB, free: 256 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.569e-05/0.1414, allocations: 89.86 kB / 448.9 MB, free: 156 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.1414, allocations: 25.7 kB / 448.9 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.571e-05/0.1414, allocations: 84.27 kB / 449 MB, free: 36 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1415, allocations: 0 / 449 MB, free: 36 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.1415, allocations: 13.72 kB / 449 MB, free: 16 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1417, allocations: 310.8 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.1417, allocations: 11.92 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.1417, allocations: 0 / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.1418, allocations: 68.14 kB / 449.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1418, allocations: 0 / 449.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.963e-05/0.1419, allocations: 63.47 kB / 449.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.1419, allocations: 37.62 kB / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1419, allocations: 0 / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1419, allocations: 0 / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.1419, allocations: 4 kB / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1419, allocations: 0 / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.142, allocations: 0 / 449.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.142, allocations: 0 / 449.5 MB, free: 15.49 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.1421, allocations: 143.5 kB / 449.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.1421, allocations: 7.969 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.183e-05/0.1421, allocations: 3.125 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.1421, allocations: 0 / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1421, allocations: 0 / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1421, allocations: 0 / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1423, allocations: 153.6 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1423, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1423, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1423, allocations: 3.938 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1423, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1423, allocations: 0 / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1423, allocations: 4 kB / 449.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1424, allocations: 90.83 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1425, allocations: 77.11 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1425, allocations: 11.94 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.1425, allocations: 0 / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1426, allocations: 3.984 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1426, allocations: 0 / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1426, allocations: 79.31 kB / 450 MB, free: 14.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1426, allocations: 0 / 450 MB, free: 14.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.143, allocations: 127.9 kB / 450.2 MB, free: 14.69 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.1438, allocations: 306.2 kB / 450.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.1439, allocations: 67.34 kB / 450.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1439, allocations: 4 kB / 450.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.1439, allocations: 51.41 kB / 450.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1441, allocations: 7.234 kB / 450.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.1443, allocations: 100.5 kB / 450.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1447, allocations: 0.6731 MB / 451.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.1447, allocations: 7.438 kB / 451.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1447, allocations: 0 / 451.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of Templates: time 0.005697/0.1504, allocations: 3.226 MB / 454.6 MB, free: 10.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1