Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 92.61 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 201.6 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.506/1.506, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 418.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.00068/0.1527, allocations: 230.9 kB / 482.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1557, allocations: 1.989 MB / 484.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.1557, allocations: 0 / 484.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.1557, allocations: 4 kB / 484.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.1557, allocations: 0 / 484.3 MB, free: 3.172 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001224/0.157, allocations: 426.5 kB / 484.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.391e-05/0.157, allocations: 3.984 kB / 484.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.1571, allocations: 0 / 484.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.1571, allocations: 0 / 484.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.1571, allocations: 7.938 kB / 484.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.1571, allocations: 0 / 484.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009799/0.1581, allocations: 0.6356 MB / 485.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.1581, allocations: 0 / 485.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1582, allocations: 29.7 kB / 485.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1586, allocations: 247.5 kB / 485.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1586, allocations: 0 / 485.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1586, allocations: 0 / 485.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1586, allocations: 0 / 485.7 MB, free: 1.832 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.0004136/0.159, allocations: 417.3 kB / 486.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1591, allocations: 12.03 kB / 486.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1591, allocations: 4 kB / 486.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1593, allocations: 171 kB / 486.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1593, allocations: 3.938 kB / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1593, allocations: 0 / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.1594, allocations: 33.7 kB / 486.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1594, allocations: 0 / 486.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.1594, allocations: 0 / 486.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1594, allocations: 0 / 486.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.1595, allocations: 8 kB / 486.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.1596, allocations: 153.6 kB / 486.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1597, allocations: 18.52 kB / 486.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.1597, allocations: 8.953 kB / 486.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.1597, allocations: 0 / 486.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1598, allocations: 60.27 kB / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1598, allocations: 0 / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.16, allocations: 63.39 kB / 486.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.16, allocations: 81.23 kB / 486.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.553e-05/0.1601, allocations: 89.86 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1601, allocations: 25.7 kB / 486.8 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1601, allocations: 80.14 kB / 486.9 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1602, allocations: 8 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.1602, allocations: 0 / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1603, allocations: 310.8 kB / 487.2 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.1603, allocations: 3.938 kB / 487.2 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1603, allocations: 4 kB / 487.2 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1603, allocations: 33.66 kB / 487.2 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1603, allocations: 0 / 487.2 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.221e-05/0.1604, allocations: 63.44 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.1605, allocations: 29.7 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1605, allocations: 0 / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1605, allocations: 0 / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1605, allocations: 3.938 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1605, allocations: 0 / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.1605, allocations: 7.938 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1605, allocations: 4.094 kB / 487.3 MB, free: 15.91 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 8.518e-05/0.1606, allocations: 143.4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.1607, allocations: 4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-06/0.1607, allocations: 3.125 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1607, allocations: 0 / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1607, allocations: 0 / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1607, allocations: 3.938 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/0.1608, allocations: 145.7 kB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1608, allocations: 7.953 kB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1608, allocations: 4 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1608, allocations: 0 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1608, allocations: 3.984 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1608, allocations: 0 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1608, allocations: 0 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.103e-05/0.1609, allocations: 94.73 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.161, allocations: 81.06 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.161, allocations: 0 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.161, allocations: 4.031 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.161, allocations: 4 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.161, allocations: 0 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.1611, allocations: 79.28 kB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1611, allocations: 0 / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.1615, allocations: 128 kB / 488 MB, free: 15.11 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.0007205/0.1622, allocations: 326.5 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1623, allocations: 55.41 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1623, allocations: 0 / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.1624, allocations: 55.41 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.1625, allocations: 2.812 kB / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.1627, allocations: 112.6 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.163, allocations: 0.6692 MB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.163, allocations: 11.44 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.163, allocations: 0 / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.005997/0.169, allocations: 3.311 MB / 492.6 MB, free: 10.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_trunk_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 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.TestDistributionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1