Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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.0009157/0.0009154, allocations: 91.02 kB / 17.63 MB, free: 6.156 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.001196/0.001196, allocations: 178.8 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 242.5 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005303, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0007284/0.1634, allocations: 227 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1663, allocations: 1.937 MB / 474.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.1664, allocations: 0 / 474.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1664, allocations: 0 / 474.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.987e-06/0.1664, allocations: 8 kB / 474.3 MB, free: 11.55 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:1013:5-1096:22:writable] Warning: Pure function ‘ModelicaTest.Math.Random.distributions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1677, allocations: 422.5 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.1678, allocations: 0 / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1678, allocations: 0 / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.1679, allocations: 3.938 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.671e-05/0.1679, allocations: 7.984 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1679, allocations: 0 / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.169, allocations: 0.6239 MB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.169, allocations: 0 / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.1691, allocations: 29.64 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1695, allocations: 247.6 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1695, allocations: 0 / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1695, allocations: 3.938 kB / 475.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1695, allocations: 0 / 475.7 MB, free: 10.22 MB / 350.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.0005434/0.17, allocations: 409.3 kB / 476.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1701, allocations: 12.03 kB / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.1701, allocations: 0 / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1703, allocations: 167.1 kB / 476.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1703, allocations: 0 / 476.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1703, allocations: 3.953 kB / 476.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.1704, allocations: 29.7 kB / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1704, allocations: 0 / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1704, allocations: 0 / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1704, allocations: 0 / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.1704, allocations: 0 / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1706, allocations: 161.6 kB / 476.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.1707, allocations: 14.58 kB / 476.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1707, allocations: 8.859 kB / 476.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1707, allocations: 4.094 kB / 476.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.1707, allocations: 60.22 kB / 476.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.284e-06/0.1708, allocations: 0 / 476.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.1709, allocations: 75.27 kB / 476.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.171, allocations: 81.23 kB / 476.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.1711, allocations: 89.86 kB / 476.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1711, allocations: 25.7 kB / 476.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1711, allocations: 80.14 kB / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1711, allocations: 0 / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1712, allocations: 4 kB / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1713, allocations: 310.8 kB / 477.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.1713, allocations: 0 / 477.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.1713, allocations: 0 / 477.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.1714, allocations: 37.77 kB / 477.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1714, allocations: 0 / 477.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.747e-05/0.1715, allocations: 59.39 kB / 477.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1715, allocations: 36.2 kB / 477.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1715, allocations: 7.891 kB / 477.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1715, allocations: 3.938 kB / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1715, allocations: 0 / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1715, allocations: 0 / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.1716, allocations: 0 / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1716, allocations: 8.031 kB / 477.3 MB, free: 8.312 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1717, allocations: 136.1 kB / 477.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.1717, allocations: 0 / 477.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.1717, allocations: 15.08 kB / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1717, allocations: 3.953 kB / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1717, allocations: 0 / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1717, allocations: 0 / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1719, allocations: 141.7 kB / 477.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1719, allocations: 3.984 kB / 477.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1719, allocations: 4 kB / 477.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1719, allocations: 4 kB / 477.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1719, allocations: 0 / 477.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1719, allocations: 0 / 477.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1719, allocations: 3.953 kB / 477.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.172, allocations: 98.67 kB / 477.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1721, allocations: 77.11 kB / 477.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1721, allocations: 0 / 477.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.1721, allocations: 7.969 kB / 477.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.1721, allocations: 7.953 kB / 477.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.1721, allocations: 0 / 477.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.1722, allocations: 75.28 kB / 477.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1722, allocations: 0 / 477.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1726, allocations: 132 kB / 478 MB, free: 7.508 MB / 350.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 (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.0007448/0.1733, allocations: 296.9 kB / 478.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.617e-05/0.1734, allocations: 55.41 kB / 478.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1735, allocations: 0 / 478.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.1735, allocations: 59.39 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1736, allocations: 7.938 kB / 478.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1739, allocations: 104.7 kB / 478.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1742, allocations: 0.677 MB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.1742, allocations: 11.44 kB / 479.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1742, allocations: 0 / 479.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Templates: time 0.00606/0.1803, allocations: 3.226 MB / 482.4 MB, free: 2.988 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1