Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.00187/0.001871, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.906/1.906, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.2471/0.2471, allocations: 43.52 MB / 314.1 MB, free: 0.7344 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.001853/0.001853, allocations: 67.39 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001912/0.163, allocations: 0.5777 MB / 441 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.166, allocations: 2.411 MB / 443.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.166, allocations: 3.938 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.166, allocations: 0 / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.1661, allocations: 0 / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1674, allocations: 470.4 kB / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.843e-05/0.1675, allocations: 0 / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.1675, allocations: 7.938 kB / 443.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1676, allocations: 0 / 443.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.96e-05/0.1676, allocations: 0 / 443.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1676, allocations: 0 / 443.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1687, allocations: 0.7291 MB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1687, allocations: 0 / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1687, allocations: 0 / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1692, allocations: 303.7 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1692, allocations: 0 / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1692, allocations: 0 / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1692, allocations: 4 kB / 445 MB, free: 3.016 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.0005629/0.1698, allocations: 437.2 kB / 445.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1698, allocations: 8.031 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1699, allocations: 0.9375 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.17, allocations: 160.4 kB / 445.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.17, allocations: 4.375 kB / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1701, allocations: 384 / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1702, allocations: 41.94 kB / 445.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1702, allocations: 0 / 445.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1703, allocations: 4 kB / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1703, allocations: 0 / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.1703, allocations: 3.938 kB / 445.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1705, allocations: 145.7 kB / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.515e-05/0.1706, allocations: 18.61 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.1706, allocations: 8.859 kB / 445.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.1707, allocations: 0 / 445.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/0.1707, allocations: 68.25 kB / 445.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1708, allocations: 0 / 445.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002505/0.171, allocations: 67.34 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1711, allocations: 77.11 kB / 446 MB, free: 1.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.226e-05/0.1711, allocations: 89.86 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1711, allocations: 25.7 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/0.1711, allocations: 84.27 kB / 446.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1712, allocations: 7.922 kB / 446.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.1712, allocations: 13.72 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1714, allocations: 310.8 kB / 446.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1714, allocations: 0 / 446.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.1714, allocations: 8 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.1715, allocations: 60.2 kB / 446.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1715, allocations: 4.062 kB / 446.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.629e-05/0.1715, allocations: 67.33 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.1716, allocations: 37.64 kB / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1716, allocations: 0 / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1716, allocations: 0 / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-06/0.1716, allocations: 4 kB / 446.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1716, allocations: 0 / 446.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.1717, allocations: 0 / 446.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1717, allocations: 0 / 446.7 MB, free: 1.023 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 8.731e-05/0.1718, allocations: 151.5 kB / 446.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1718, allocations: 7.922 kB / 446.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.1718, allocations: 3.125 kB / 446.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1718, allocations: 3.984 kB / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1718, allocations: 4 kB / 446.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1718, allocations: 3.938 kB / 446.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.544e-05/0.1719, allocations: 141.7 kB / 447 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1719, allocations: 0 / 447 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1719, allocations: 0 / 447 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1719, allocations: 7.922 kB / 447 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.172, allocations: 8 kB / 447 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.172, allocations: 0 / 447 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.172, allocations: 0 / 447 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.1721, allocations: 90.78 kB / 447.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1721, allocations: 81.09 kB / 447.2 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1721, allocations: 3.938 kB / 447.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.1722, allocations: 0 / 447.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.1722, allocations: 0 / 447.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1722, allocations: 8.031 kB / 447.2 MB, free: 420 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.1722, allocations: 75.28 kB / 447.2 MB, free: 344 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1722, allocations: 0 / 447.2 MB, free: 344 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.1727, allocations: 148 kB / 447.4 MB, free: 196 kB / 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.0009114/0.1736, allocations: 350 kB / 447.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1737, allocations: 55.41 kB / 447.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1738, allocations: 0 / 447.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1738, allocations: 63.33 kB / 447.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.174, allocations: 4 kB / 447.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.1742, allocations: 104.5 kB / 448 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.1746, allocations: 0.6692 MB / 448.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.1746, allocations: 7.438 kB / 448.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1746, allocations: 4.125 kB / 448.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Templates: time 0.006464/0.1811, allocations: 3.284 MB / 451.9 MB, free: 11.58 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1