Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002787/0.002787, allocations: 363.1 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.24/4.24, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.005392/0.005391, allocations: 236.2 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.6321/0.6321, allocations: 80.01 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.000661, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1029, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6008, allocations: 82.15 MB / 0.7603 GB, free: 3.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.601, allocations: 71.22 kB / 0.7604 GB, free: 3.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831/2.432, allocations: 63.45 MB / 0.8223 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/2.432, allocations: 4 kB / 0.8223 GB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/2.432, allocations: 0 / 0.8223 GB, free: 10.62 MB / 410.7 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.005721/2.438, allocations: 447.9 kB / 0.8228 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/2.438, allocations: 15.97 kB / 0.8228 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/2.438, allocations: 0 / 0.8228 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/2.438, allocations: 159.1 kB / 0.8229 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/2.438, allocations: 3.984 kB / 0.8229 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/2.438, allocations: 0 / 0.8229 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/2.438, allocations: 32.95 kB / 0.823 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/2.438, allocations: 4 kB / 0.823 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/2.438, allocations: 3.953 kB / 0.823 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/2.438, allocations: 0 / 0.823 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/2.438, allocations: 0 / 0.823 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/2.439, allocations: 149.6 kB / 0.8231 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/2.439, allocations: 22.5 kB / 0.8231 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/2.439, allocations: 12.14 kB / 0.8232 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/2.439, allocations: 0 / 0.8232 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/2.439, allocations: 60.27 kB / 0.8232 GB, free: 9.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/2.439, allocations: 0 / 0.8232 GB, free: 9.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001856/2.439, allocations: 63.36 kB / 0.8233 GB, free: 9.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/2.439, allocations: 88.53 kB / 0.8234 GB, free: 9.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/2.439, allocations: 89.86 kB / 0.8234 GB, free: 9.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/2.439, allocations: 25.7 kB / 0.8235 GB, free: 9.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/2.439, allocations: 84.14 kB / 0.8236 GB, free: 9.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/2.439, allocations: 4.125 kB / 0.8236 GB, free: 9.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/2.439, allocations: 0 / 0.8236 GB, free: 9.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/2.439, allocations: 311.6 kB / 0.8239 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/2.439, allocations: 0 / 0.8239 GB, free: 8.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/2.439, allocations: 0 / 0.8239 GB, free: 8.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/2.439, allocations: 29.7 kB / 0.8239 GB, free: 8.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.439, allocations: 0 / 0.8239 GB, free: 8.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.267e-05/2.44, allocations: 66.83 kB / 0.8239 GB, free: 8.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/2.44, allocations: 29.7 kB / 0.824 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/2.44, allocations: 4.094 kB / 0.824 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/2.44, allocations: 0 / 0.824 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/2.44, allocations: 0 / 0.824 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/2.44, allocations: 7.953 kB / 0.824 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/2.44, allocations: 3.938 kB / 0.824 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/2.44, allocations: 0 / 0.824 GB, free: 8.691 MB / 410.7 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 0.0001051/2.44, allocations: 136.3 kB / 0.8241 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/2.44, allocations: 3.984 kB / 0.8241 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/2.44, allocations: 7.078 kB / 0.8241 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/2.44, allocations: 4 kB / 0.8241 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/2.44, allocations: 4 kB / 0.8241 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.44, allocations: 3.953 kB / 0.8241 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/2.44, allocations: 153.6 kB / 0.8243 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/2.44, allocations: 0 / 0.8243 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/2.44, allocations: 0 / 0.8243 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/2.44, allocations: 3.984 kB / 0.8243 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/2.44, allocations: 3.938 kB / 0.8243 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/2.44, allocations: 0 / 0.8243 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/2.44, allocations: 0 / 0.8243 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/2.44, allocations: 93.98 kB / 0.8244 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/2.44, allocations: 81.09 kB / 0.8245 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/2.44, allocations: 0 / 0.8245 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/2.44, allocations: 4 kB / 0.8245 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/2.44, allocations: 3.938 kB / 0.8245 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/2.44, allocations: 0 / 0.8245 GB, free: 8.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/2.44, allocations: 75.28 kB / 0.8245 GB, free: 8.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.44, allocations: 4.031 kB / 0.8245 GB, free: 8.023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01381/2.454, allocations: 2.16 MB / 0.8267 GB, free: 5.871 MB / 410.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: 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.02125/2.476, allocations: 2.252 MB / 0.8289 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/2.476, allocations: 67.39 kB / 0.8289 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/2.476, allocations: 0 / 0.8289 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/2.476, allocations: 58.66 kB / 0.829 GB, free: 3.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/2.476, allocations: 3.953 kB / 0.829 GB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/2.476, allocations: 79.25 kB / 0.8291 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/2.477, allocations: 0.6731 MB / 0.8297 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.332e-06/2.477, allocations: 0 / 0.8297 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/2.477, allocations: 11.44 kB / 0.8297 GB, free: 2.656 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/2.477, allocations: 3.938 kB / 0.8297 GB, free: 2.652 MB / 410.7 MB Notification: Performance of Templates: time 0.641/3.118, allocations: 122.1 MB / 0.9489 GB, free: 85.44 MB / 474.7 MB