Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.0008651, allocations: 91.94 kB / 16.33 MB, free: 5.938 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.0008126/0.0008127, allocations: 187.9 kB / 17.22 MB, free: 5.863 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.488/1.488, allocations: 205.4 MB / 223.4 MB, free: 5.59 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.4001/0.4001, allocations: 43.55 MB / 315.2 MB, free: 9.09 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.000569/0.000569, allocations: 18.97 kB / 384.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 58.86 MB / 443.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0005956/0.1285, allocations: 272.3 kB / 443.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.1294, allocations: 0.5548 MB / 444.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.1294, allocations: 0 / 444.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.255e-05/0.1295, allocations: 7.938 kB / 444.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.176e-06/0.1295, allocations: 0 / 444.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.1301, allocations: 163.7 kB / 444.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.1301, allocations: 27.92 kB / 444.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1302, allocations: 0 / 444.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.1302, allocations: 15.98 kB / 444.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.1303, allocations: 23.91 kB / 444.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1303, allocations: 3.938 kB / 444.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1305, allocations: 155.7 kB / 444.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1306, allocations: 63.88 kB / 444.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.1306, allocations: 45.64 kB / 444.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1308, allocations: 135.8 kB / 444.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1308, allocations: 7.938 kB / 444.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1308, allocations: 0 / 444.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1308, allocations: 0 / 444.9 MB, free: 11.81 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0003968/0.1313, allocations: 468.5 kB / 445.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1313, allocations: 12.02 kB / 445.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1313, allocations: 27.77 kB / 445.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.1314, allocations: 178.8 kB / 445.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1315, allocations: 16 kB / 445.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1315, allocations: 23.98 kB / 445.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1317, allocations: 124.3 kB / 445.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1317, allocations: 0 / 445.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.1317, allocations: 0 / 445.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1317, allocations: 0 / 445.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.1318, allocations: 96.41 kB / 445.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.132, allocations: 234.1 kB / 446 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1321, allocations: 166.9 kB / 446.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1322, allocations: 157.7 kB / 446.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.1322, allocations: 0 / 446.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.1324, allocations: 162 kB / 446.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=54): time 1.012e-06/0.1324, allocations: 0 / 446.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.0009525/0.1334, allocations: 0.7694 MB / 447.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.1335, allocations: 107.8 kB / 447.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.1335, allocations: 117.7 kB / 447.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.1336, allocations: 69.67 kB / 447.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1337, allocations: 97.44 kB / 447.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1338, allocations: 134.5 kB / 447.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1338, allocations: 16 kB / 447.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1339, allocations: 354.8 kB / 448.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1342, allocations: 181.9 kB / 448.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.1346, allocations: 0.5292 MB / 448.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.135, allocations: 267.7 kB / 449.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.135, allocations: 4 kB / 449.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009301/0.1359, allocations: 0.7319 MB / 449.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.136, allocations: 8 kB / 449.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.136, allocations: 16.12 kB / 449.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.136, allocations: 20 kB / 449.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.1363, allocations: 119.7 kB / 450 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.1364, allocations: 23.94 kB / 450 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1365, allocations: 63.34 kB / 450.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.1366, allocations: 40 kB / 450.1 MB, free: 6.152 MB / 382.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.0002059/0.1368, allocations: 253.3 kB / 450.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1368, allocations: 15.8 kB / 450.4 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.1369, allocations: 13.75 kB / 450.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1369, allocations: 0 / 450.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1369, allocations: 0 / 450.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1369, allocations: 0 / 450.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.137, allocations: 201.7 kB / 450.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.137, allocations: 0 / 450.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.137, allocations: 0 / 450.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.137, allocations: 0 / 450.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.137, allocations: 0 / 450.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.137, allocations: 4 kB / 450.6 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1371, allocations: 7.984 kB / 450.6 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.1378, allocations: 0.6108 MB / 451.2 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1379, allocations: 104.8 kB / 451.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1379, allocations: 3.984 kB / 451.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.1379, allocations: 0 / 451.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.1379, allocations: 4 kB / 451.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1379, allocations: 0 / 451.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.138, allocations: 79.31 kB / 451.4 MB, free: 4.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 451.4 MB, free: 4.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000416/0.1384, allocations: 95.98 kB / 451.5 MB, free: 4.68 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: 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.000436/0.1388, allocations: 250.9 kB / 451.8 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1394, allocations: 467.7 kB / 452.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1394, allocations: 1.938 kB / 452.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1395, allocations: 164.3 kB / 452.4 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1396, allocations: 11.89 kB / 452.4 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1401, allocations: 496.5 kB / 452.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1404, allocations: 0.7298 MB / 453.6 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1404, allocations: 19.44 kB / 453.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1404, allocations: 4 kB / 453.6 MB, free: 2.52 MB / 382.1 MB Notification: Performance of Templates: time 0.2067/0.3472, allocations: 3.715 MB / 457.3 MB, free: 45.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.makefile make -j1 -f ModelicaTest_3.2.3_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"." -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.TestRandomNumbersCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbersCalcHelperMain.o] Error 1