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.001578/0.001578, allocations: 102 kB / 16.52 MB, free: 6.676 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.001631/0.001631, allocations: 195.7 kB / 17.44 MB, free: 6.055 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.915/1.915, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2822/0.2822, allocations: 43.52 MB / 314.1 MB, free: 0.7578 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.001488/0.001488, allocations: 71.88 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1708, allocations: 57.79 MB / 440.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002311/0.1731, allocations: 0.5934 MB / 441.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1747, allocations: 0.6143 MB / 441.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1748, allocations: 0 / 441.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.175, allocations: 3.938 kB / 441.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-06/0.175, allocations: 0 / 441.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.1759, allocations: 175.3 kB / 441.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.176, allocations: 23.92 kB / 441.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1761, allocations: 11.98 kB / 441.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1761, allocations: 11.94 kB / 441.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.1762, allocations: 20.53 kB / 441.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1762, allocations: 0 / 441.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.1766, allocations: 163.7 kB / 442.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.1767, allocations: 60.44 kB / 442.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.1768, allocations: 51.61 kB / 442.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1771, allocations: 139.8 kB / 442.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1771, allocations: 0 / 442.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1771, allocations: 0 / 442.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1771, allocations: 4 kB / 442.3 MB, free: 5.676 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005515/0.1777, allocations: 0.4928 MB / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1777, allocations: 12.02 kB / 442.8 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1778, allocations: 16.75 kB / 442.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1779, allocations: 176.2 kB / 443 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1779, allocations: 16.38 kB / 443 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1779, allocations: 16.38 kB / 443.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1781, allocations: 136.4 kB / 443.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1781, allocations: 7.969 kB / 443.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1782, allocations: 4 kB / 443.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1782, allocations: 0 / 443.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.1783, allocations: 96.41 kB / 443.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.1785, allocations: 222.2 kB / 443.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1786, allocations: 163 kB / 443.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.1787, allocations: 157.7 kB / 443.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1787, allocations: 0 / 443.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.179, allocations: 177.8 kB / 444 MB, free: 3.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.633e-06/0.179, allocations: 0 / 444 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.001102/0.1801, allocations: 0.7694 MB / 444.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.1802, allocations: 103.8 kB / 444.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.1803, allocations: 125.6 kB / 445 MB, free: 2.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.1803, allocations: 69.67 kB / 445.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.1804, allocations: 93.45 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.1805, allocations: 138.5 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1806, allocations: 158.7 kB / 445.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.1807, allocations: 342.8 kB / 445.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.181, allocations: 189.8 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.1813, allocations: 0.5292 MB / 446.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.1821, allocations: 0.7826 MB / 447.3 MB, free: 188 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.1821, allocations: 8 kB / 447.3 MB, free: 180 kB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001475/0.1836, allocations: 0.7432 MB / 448 MB, free: 15.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1837, allocations: 15.98 kB / 448 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.1837, allocations: 12 kB / 448 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.309e-05/0.1838, allocations: 16 kB / 448.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.1842, allocations: 119.7 kB / 448.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.433e-05/0.1842, allocations: 19.94 kB / 448.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1845, allocations: 67.42 kB / 448.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.1846, allocations: 44 kB / 448.3 MB, free: 15.13 MB / 334.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 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.1849, allocations: 249.7 kB / 448.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1849, allocations: 11.75 kB / 448.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.1849, allocations: 9.875 kB / 448.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1849, allocations: 0 / 448.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1849, allocations: 0 / 448.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.185, allocations: 4 kB / 448.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1852, allocations: 189.8 kB / 448.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1852, allocations: 0 / 448.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.1852, allocations: 3.938 kB / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1852, allocations: 0 / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1852, allocations: 7.984 kB / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1852, allocations: 0 / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1852, allocations: 0 / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.1862, allocations: 0.6148 MB / 449.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1863, allocations: 108.7 kB / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1863, allocations: 0 / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.1863, allocations: 3.984 kB / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1864, allocations: 4 kB / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1864, allocations: 0 / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.1864, allocations: 75.28 kB / 449.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1865, allocations: 4.031 kB / 449.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.187, allocations: 95.98 kB / 449.7 MB, free: 13.66 MB / 334.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 (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.0007241/0.1878, allocations: 266.2 kB / 449.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007677/0.1885, allocations: 469.2 kB / 450.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1886, allocations: 0.5 kB / 450.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1888, allocations: 164.4 kB / 450.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.189, allocations: 11.88 kB / 450.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.1899, allocations: 0.4927 MB / 451.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.1904, allocations: 0.7298 MB / 451.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1905, allocations: 23.38 kB / 451.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1905, allocations: 0 / 451.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Templates: time 0.00782/0.1983, allocations: 3.729 MB / 455.5 MB, free: 7.758 MB / 334.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++ -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.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