Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004372/0.004372, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.657/4.657, allocations: 388.9 MB / 405.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003633/0.003633, allocations: 222.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5579/0.5579, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1071, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6125, allocations: 80.51 MB / 0.7587 GB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.6129, allocations: 63.22 kB / 0.7588 GB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.6296, allocations: 4.851 MB / 0.7635 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.6297, allocations: 8 kB / 0.7635 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.6297, allocations: 0 / 0.7635 GB, free: 0.7031 MB / 346.7 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.0005718/0.6303, allocations: 480.6 kB / 0.764 GB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.6303, allocations: 8.031 kB / 0.764 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.6304, allocations: 23.75 kB / 0.764 GB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6305, allocations: 171 kB / 0.7642 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.6306, allocations: 14.44 kB / 0.7642 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.6306, allocations: 19.31 kB / 0.7642 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.6309, allocations: 130.9 kB / 0.7643 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6309, allocations: 4 kB / 0.7643 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.6309, allocations: 3.984 kB / 0.7643 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6309, allocations: 0 / 0.7643 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.6311, allocations: 99.05 kB / 0.7644 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.6314, allocations: 221.9 kB / 0.7646 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.6316, allocations: 164.7 kB / 0.7648 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.6318, allocations: 156 kB / 0.7649 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.6318, allocations: 7.938 kB / 0.765 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.6321, allocations: 161.9 kB / 0.7651 GB, free: 15.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 1.954e-06/0.6321, allocations: 0 / 0.7651 GB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.001521/0.6337, allocations: 0.7659 MB / 0.7659 GB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.6338, allocations: 102.2 kB / 0.7659 GB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.6339, allocations: 123 kB / 0.7661 GB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.634, allocations: 71.69 kB / 0.7661 GB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.6341, allocations: 96.28 kB / 0.7662 GB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.6343, allocations: 138 kB / 0.7664 GB, free: 14.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.6343, allocations: 16.69 kB / 0.7664 GB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6345, allocations: 339.9 kB / 0.7667 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.635, allocations: 183.7 kB / 0.7669 GB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.6358, allocations: 0.5337 MB / 0.7674 GB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.6366, allocations: 272.6 kB / 0.7677 GB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.6366, allocations: 0 / 0.7677 GB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001752/0.6383, allocations: 0.7392 MB / 0.7684 GB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.6384, allocations: 12 kB / 0.7684 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.6385, allocations: 12 kB / 0.7684 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-05/0.6385, allocations: 20 kB / 0.7684 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.6392, allocations: 114.6 kB / 0.7685 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/0.6392, allocations: 23.92 kB / 0.7686 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.6396, allocations: 64.62 kB / 0.7686 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.6397, allocations: 45.7 kB / 0.7687 GB, free: 11.92 MB / 362.7 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.0003776/0.64, allocations: 252.3 kB / 0.7689 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.6401, allocations: 11.81 kB / 0.7689 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.6401, allocations: 9.875 kB / 0.7689 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6402, allocations: 0 / 0.7689 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6402, allocations: 0 / 0.7689 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6402, allocations: 0 / 0.7689 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6404, allocations: 188.5 kB / 0.7691 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6404, allocations: 3.984 kB / 0.7691 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.6404, allocations: 4 kB / 0.7691 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.6405, allocations: 0 / 0.7691 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.6405, allocations: 0 / 0.7691 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6405, allocations: 0 / 0.7691 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6405, allocations: 4 kB / 0.7691 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6418, allocations: 0.6161 MB / 0.7697 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.6418, allocations: 100.8 kB / 0.7698 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.6419, allocations: 7.562 kB / 0.7698 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.6419, allocations: 0 / 0.7698 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.642, allocations: 0 / 0.7698 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.642, allocations: 4 kB / 0.7698 GB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.642, allocations: 79.75 kB / 0.7699 GB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.642, allocations: 0 / 0.7699 GB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008172/0.6429, allocations: 114.8 kB / 0.77 GB, free: 10.63 MB / 362.7 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.0008108/0.6437, allocations: 278.3 kB / 0.7703 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.6448, allocations: 458.6 kB / 0.7707 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6448, allocations: 8.125 kB / 0.7707 GB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.645, allocations: 156.1 kB / 0.7709 GB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.6452, allocations: 11.94 kB / 0.7709 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.6461, allocations: 453.6 kB / 0.7713 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.6465, allocations: 0.7375 MB / 0.772 GB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.6466, allocations: 47.52 kB / 0.7721 GB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.6467, allocations: 23.44 kB / 0.7721 GB, free: 8.672 MB / 362.7 MB Notification: Performance of SimCode: time 1.864e-06/0.6467, allocations: 0 / 0.7721 GB, free: 8.672 MB / 362.7 MB Notification: Performance of Templates: time 0.01048/0.6572, allocations: 3.041 MB / 0.7751 GB, free: 5.637 MB / 362.7 MB