Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008746/0.0008746, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000907/0.0009072, allocations: 194.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, 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.2443/0.2443, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 63.46 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007462/0.1555, allocations: 258.9 kB / 482.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1567, allocations: 0.5681 MB / 482.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.1567, allocations: 0 / 482.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.631e-05/0.1568, allocations: 7.922 kB / 482.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.657e-06/0.1568, allocations: 4 kB / 482.9 MB, free: 4.574 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function ‘ModelicaTest.Math.Random.randomNumbers‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.1575, allocations: 163 kB / 483.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.1575, allocations: 27.97 kB / 483.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.1576, allocations: 0 / 483.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.1576, allocations: 19.92 kB / 483.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.1577, allocations: 19.98 kB / 483.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1577, allocations: 0 / 483.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.158, allocations: 159.7 kB / 483.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.1581, allocations: 63.88 kB / 483.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1581, allocations: 41.64 kB / 483.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1583, allocations: 139.8 kB / 483.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.1583, allocations: 0 / 483.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1584, allocations: 3.938 kB / 483.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1584, allocations: 0 / 483.6 MB, free: 3.945 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005283/0.1589, allocations: 472.5 kB / 484 MB, free: 3.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.159, allocations: 12.03 kB / 484 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.159, allocations: 15.81 kB / 484.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1591, allocations: 178.8 kB / 484.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1592, allocations: 23.92 kB / 484.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1592, allocations: 20 kB / 484.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1594, allocations: 124.3 kB / 484.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1594, allocations: 0 / 484.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1595, allocations: 0 / 484.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1595, allocations: 0 / 484.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1596, allocations: 100.3 kB / 484.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1598, allocations: 238.1 kB / 484.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.16, allocations: 167 kB / 484.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1602, allocations: 153.7 kB / 485 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.1602, allocations: 0 / 485 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.1604, allocations: 158 kB / 485.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.052e-06/0.1604, allocations: 7.938 kB / 485.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.001128/0.1616, allocations: 0.7732 MB / 486 MB, free: 1.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.1617, allocations: 103.8 kB / 486.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.1617, allocations: 113.7 kB / 486.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.1618, allocations: 73.67 kB / 486.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1619, allocations: 93.45 kB / 486.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1621, allocations: 134.5 kB / 486.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1621, allocations: 19.94 kB / 486.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1623, allocations: 354.8 kB / 486.9 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.1626, allocations: 177.9 kB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.1632, allocations: 0.5369 MB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.1636, allocations: 263.8 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1636, allocations: 4 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001034/0.1646, allocations: 0.7278 MB / 488.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1647, allocations: 16.25 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1647, allocations: 15.98 kB / 488.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.1647, allocations: 23.98 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.1651, allocations: 115.7 kB / 488.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.1652, allocations: 23.88 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1654, allocations: 67.38 kB / 488.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.1654, allocations: 40 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0002675/0.1657, allocations: 253.4 kB / 489.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1657, allocations: 11.81 kB / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.1658, allocations: 5.875 kB / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1658, allocations: 3.938 kB / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1658, allocations: 0 / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1658, allocations: 4 kB / 489.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.166, allocations: 197.7 kB / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.166, allocations: 0 / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-06/0.166, allocations: 0 / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.166, allocations: 3.938 kB / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.166, allocations: 0 / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.166, allocations: 0 / 489.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.166, allocations: 3.984 kB / 489.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.1669, allocations: 0.6147 MB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.167, allocations: 104.8 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.167, allocations: 3.984 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.1671, allocations: 0 / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1671, allocations: 0 / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1671, allocations: 4 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.1671, allocations: 79.31 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.1672, allocations: 0 / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.1677, allocations: 99.86 kB / 490.2 MB, free: 12.8 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: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007036/0.1685, allocations: 252.7 kB / 490.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.1691, allocations: 468.7 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1691, allocations: 0.875 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1693, allocations: 160.4 kB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1695, allocations: 10.25 kB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.1703, allocations: 484.5 kB / 491.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.1707, allocations: 0.7306 MB / 492.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1708, allocations: 23.44 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1708, allocations: 0 / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Templates: time 0.00661/0.1774, allocations: 3.784 MB / 496.1 MB, free: 6.875 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.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.TestRandomNumbersCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbersCalcHelperMain.o] Error 1