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.001587/0.001587, allocations: 103.2 kB / 16.52 MB, free: 6.664 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.001534/0.001534, allocations: 199.3 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.2482/0.2482, allocations: 43.52 MB / 314.1 MB, free: 0.7578 MB / 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.001807/0.001807, allocations: 70.05 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 57.79 MB / 440.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001884/0.151, allocations: 0.5661 MB / 441 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1535, allocations: 2.131 MB / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1536, allocations: 0 / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.1536, allocations: 3.938 kB / 443.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.206e-06/0.1536, allocations: 4 kB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1551, allocations: 426.4 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.044e-05/0.1552, allocations: 0 / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.1552, allocations: 8 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1553, allocations: 0 / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.1553, allocations: 3.984 kB / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.1553, allocations: 0 / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.1563, allocations: 0.6394 MB / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1563, allocations: 0 / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1564, allocations: 8 kB / 444.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.1568, allocations: 251.8 kB / 444.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1568, allocations: 0 / 444.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1568, allocations: 0 / 444.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1568, allocations: 0 / 444.5 MB, free: 3.496 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.000508/0.1573, allocations: 417.2 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1574, allocations: 12.03 kB / 444.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1574, allocations: 4.844 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.1575, allocations: 164.4 kB / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1575, allocations: 384 / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1575, allocations: 384 / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.1576, allocations: 41.89 kB / 445.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1577, allocations: 0 / 445.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1577, allocations: 3.984 kB / 445.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1577, allocations: 0 / 445.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.1577, allocations: 7.984 kB / 445.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.1578, allocations: 145.7 kB / 445.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.1579, allocations: 18.58 kB / 445.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.1579, allocations: 8.953 kB / 445.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1579, allocations: 0 / 445.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.158, allocations: 64.14 kB / 445.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.158, allocations: 0 / 445.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.1582, allocations: 67.39 kB / 445.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1582, allocations: 81.23 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/0.1582, allocations: 89.86 kB / 445.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1583, allocations: 25.7 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.1583, allocations: 84.14 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1583, allocations: 0 / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1584, allocations: 9.719 kB / 445.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.1584, allocations: 322.8 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1584, allocations: 4 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.1585, allocations: 4 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.1585, allocations: 64.2 kB / 446.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1585, allocations: 0 / 446.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.456e-05/0.1586, allocations: 59.41 kB / 446.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.1586, allocations: 41.62 kB / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1586, allocations: 0 / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1586, allocations: 4 kB / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.1586, allocations: 0 / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1587, allocations: 0 / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.1587, allocations: 8.094 kB / 446.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1587, allocations: 0 / 446.2 MB, free: 1.508 MB / 318.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 6.75e-05/0.1588, allocations: 135.5 kB / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.1588, allocations: 7.938 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.1588, allocations: 3.125 kB / 446.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.1588, allocations: 0 / 446.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1588, allocations: 3.984 kB / 446.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1588, allocations: 0 / 446.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.054e-05/0.1589, allocations: 141.7 kB / 446.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1589, allocations: 7.938 kB / 446.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1589, allocations: 4 kB / 446.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1589, allocations: 3.938 kB / 446.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1589, allocations: 0 / 446.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1589, allocations: 3.938 kB / 446.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1589, allocations: 0 / 446.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.604e-05/0.159, allocations: 90.83 kB / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.1591, allocations: 77.11 kB / 446.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1591, allocations: 7.969 kB / 446.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.1591, allocations: 3.984 kB / 446.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.1591, allocations: 8 kB / 446.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1591, allocations: 0 / 446.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.196e-05/0.1591, allocations: 75.28 kB / 446.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1591, allocations: 0 / 446.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.1595, allocations: 120 kB / 446.9 MB, free: 0.7188 MB / 318.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.0007924/0.1603, allocations: 311.1 kB / 447.2 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1605, allocations: 63.34 kB / 447.3 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1605, allocations: 0 / 447.3 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.1605, allocations: 55.41 kB / 447.3 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1607, allocations: 6.812 kB / 447.3 MB, free: 276 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.1609, allocations: 112.5 kB / 447.4 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1613, allocations: 0.6731 MB / 448.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.1614, allocations: 7.438 kB / 448.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1614, allocations: 0 / 448.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Templates: time 0.007117/0.1685, allocations: 3.233 MB / 451.3 MB, free: 12.18 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