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.0007955/0.0007954, allocations: 92.22 kB / 16.33 MB, free: 5.961 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.001027/0.001027, allocations: 188.9 kB / 17.22 MB, free: 5.859 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.612/1.612, allocations: 205.4 MB / 223.4 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3557/0.3557, allocations: 43.55 MB / 315.2 MB, free: 9.125 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.0007924/0.000793, allocations: 12 kB / 384.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.139, allocations: 58.87 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0006852/0.1398, allocations: 236.4 kB / 443.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1428, allocations: 1.971 MB / 445.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.1428, allocations: 0 / 445.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-06/0.1428, allocations: 3.938 kB / 445.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.1429, allocations: 0 / 445.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1442, allocations: 419.1 kB / 446 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.965e-05/0.1442, allocations: 8 kB / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.1442, allocations: 0 / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1443, allocations: 0 / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.575e-05/0.1443, allocations: 0 / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.1443, allocations: 0 / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1454, allocations: 0.6238 MB / 446.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-06/0.1454, allocations: 0 / 446.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1454, allocations: 29.7 kB / 446.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.1459, allocations: 247.5 kB / 446.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.146, allocations: 0 / 446.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.146, allocations: 4 kB / 446.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.146, allocations: 0 / 446.9 MB, free: 9.742 MB / 382.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.0004501/0.1464, allocations: 409.3 kB / 447.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1465, allocations: 11.97 kB / 447.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1465, allocations: 3.953 kB / 447.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1466, allocations: 163.1 kB / 447.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1467, allocations: 4 kB / 447.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1467, allocations: 3.938 kB / 447.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.1468, allocations: 29.7 kB / 447.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1468, allocations: 0 / 447.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1468, allocations: 4 kB / 447.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1468, allocations: 0 / 447.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.1468, allocations: 7.938 kB / 447.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.147, allocations: 153.7 kB / 447.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.147, allocations: 18.61 kB / 447.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.147, allocations: 8.797 kB / 447.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.147, allocations: 4 kB / 447.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.1471, allocations: 56.27 kB / 447.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1471, allocations: 4.062 kB / 447.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.1473, allocations: 71.28 kB / 447.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1474, allocations: 81.11 kB / 447.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.1474, allocations: 89.86 kB / 448 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1474, allocations: 25.7 kB / 448.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.1475, allocations: 80.27 kB / 448.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1475, allocations: 4 kB / 448.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.1475, allocations: 0 / 448.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1476, allocations: 314.8 kB / 448.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.1476, allocations: 11.88 kB / 448.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.1477, allocations: 0 / 448.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.1477, allocations: 29.7 kB / 448.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1477, allocations: 0 / 448.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.193e-05/0.1478, allocations: 63.39 kB / 448.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.1478, allocations: 33.8 kB / 448.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1478, allocations: 4 kB / 448.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1478, allocations: 0 / 448.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1479, allocations: 0 / 448.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1479, allocations: 0 / 448.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.1479, allocations: 0 / 448.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1479, allocations: 0 / 448.6 MB, free: 7.828 MB / 382.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 9.027e-05/0.148, allocations: 151.4 kB / 448.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.148, allocations: 0 / 448.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.309e-05/0.148, allocations: 7.125 kB / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.148, allocations: 0 / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.148, allocations: 0 / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.148, allocations: 0 / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1482, allocations: 153.6 kB / 448.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1482, allocations: 7.922 kB / 448.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.1482, allocations: 0 / 448.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1482, allocations: 0 / 448.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1482, allocations: 0 / 448.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1482, allocations: 0 / 448.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1482, allocations: 4 kB / 448.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1483, allocations: 94.78 kB / 449 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1484, allocations: 77.11 kB / 449.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1484, allocations: 4 kB / 449.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.1484, allocations: 0 / 449.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.1484, allocations: 0 / 449.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1484, allocations: 0 / 449.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.1485, allocations: 75.28 kB / 449.1 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1485, allocations: 4.031 kB / 449.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.1489, allocations: 128 kB / 449.3 MB, free: 7.027 MB / 382.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.0007583/0.1497, allocations: 310.6 kB / 449.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1498, allocations: 63.34 kB / 449.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1498, allocations: 4.062 kB / 449.6 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.1498, allocations: 55.39 kB / 449.7 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.15, allocations: 11.7 kB / 449.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.1502, allocations: 100.5 kB / 449.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1504, allocations: 0.677 MB / 450.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.1504, allocations: 7.438 kB / 450.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1504, allocations: 0 / 450.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of Templates: time 0.007646/0.1581, allocations: 3.222 MB / 453.7 MB, free: 2.5 MB / 382.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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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