Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 93.53 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 63.46 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0007241/0.1644, allocations: 223 kB / 482.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.1677, allocations: 2.234 MB / 484.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1678, allocations: 4 kB / 484.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.1678, allocations: 0 / 484.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.436e-06/0.1678, allocations: 0 / 484.6 MB, free: 2.961 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1098:5-1194:31:writable] Warning: Pure function ‘ModelicaTest.Math.Random.truncatedDistributions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1691, allocations: 466.9 kB / 485 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.1692, allocations: 4 kB / 485 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.1692, allocations: 3.984 kB / 485 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.1693, allocations: 0 / 485 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.1693, allocations: 0 / 485 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.1693, allocations: 4 kB / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1705, allocations: 0.7135 MB / 485.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.1706, allocations: 0 / 485.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1706, allocations: 29.7 kB / 485.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1711, allocations: 299.7 kB / 486.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1711, allocations: 0 / 486.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1711, allocations: 0 / 486.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1711, allocations: 0 / 486.1 MB, free: 1.449 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.0004703/0.1716, allocations: 433 kB / 486.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1716, allocations: 16.03 kB / 486.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1717, allocations: 0 / 486.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1718, allocations: 167 kB / 486.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1718, allocations: 0 / 486.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1718, allocations: 0 / 486.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.1719, allocations: 37.62 kB / 486.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1719, allocations: 0 / 486.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1719, allocations: 0 / 486.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.172, allocations: 0 / 486.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.172, allocations: 8 kB / 486.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1721, allocations: 157.6 kB / 486.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.1722, allocations: 14.58 kB / 486.9 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.1722, allocations: 12.89 kB / 486.9 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.1722, allocations: 0 / 486.9 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.1723, allocations: 60.27 kB / 487 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1723, allocations: 0 / 487 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002153/0.1725, allocations: 67.39 kB / 487 MB, free: 316 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1726, allocations: 77.11 kB / 487.1 MB, free: 220 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.1726, allocations: 89.86 kB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1726, allocations: 29.7 kB / 487.2 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.1727, allocations: 84.08 kB / 487.3 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1727, allocations: 0 / 487.3 MB, free: 16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1727, allocations: 0 / 487.3 MB, free: 16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1729, allocations: 318.8 kB / 487.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.1729, allocations: 128 / 487.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.1729, allocations: 15.94 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.1729, allocations: 25.7 kB / 487.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1729, allocations: 3.953 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.962e-05/0.173, allocations: 63.39 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.1731, allocations: 29.7 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1731, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1731, allocations: 4 kB / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.1731, allocations: 0 / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1731, allocations: 0 / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1731, allocations: 4.094 kB / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1732, allocations: 3.984 kB / 487.8 MB, free: 15.5 MB / 366.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.0001054/0.1733, allocations: 144.1 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.1733, allocations: 3.953 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-06/0.1733, allocations: 3.125 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1733, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1733, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1733, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1734, allocations: 153.6 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1734, allocations: 4 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.1734, allocations: 7.891 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.1735, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1735, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1735, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1735, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1736, allocations: 90.83 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1736, allocations: 77.11 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1737, allocations: 11.98 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.1737, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.1737, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1737, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.1737, allocations: 75.28 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1737, allocations: 0 / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.1741, allocations: 163.9 kB / 488.5 MB, free: 14.68 MB / 366.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.0008032/0.175, allocations: 349 kB / 488.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1751, allocations: 63.33 kB / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1751, allocations: 0 / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.1751, allocations: 59.41 kB / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.1752, allocations: 0 / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.1754, allocations: 112.6 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1757, allocations: 0.6692 MB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.1757, allocations: 7.438 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1758, allocations: 4 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006186/0.1819, allocations: 3.374 MB / 493.1 MB, free: 9.957 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1