Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002934/0.002938, 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 3.878/3.878, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003713/0.003713, allocations: 228.7 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8523/0.8523, allocations: 80.01 MB / 0.5627 GB, free: 6.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007273/0.0007279, allocations: 19.94 kB / 0.6265 GB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.163, allocations: 54.87 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5809/0.7439, allocations: 83.51 MB / 0.7617 GB, free: 36.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.7443, allocations: 72.81 kB / 0.7617 GB, free: 36.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457/2.201, allocations: 59.7 MB / 0.82 GB, free: 9.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/2.201, allocations: 0 / 0.82 GB, free: 9.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/2.201, allocations: 0 / 0.82 GB, free: 9.32 MB / 426.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.005233/2.206, allocations: 468.7 kB / 0.8205 GB, free: 8.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/2.206, allocations: 12.03 kB / 0.8205 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/2.206, allocations: 0 / 0.8205 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/2.207, allocations: 160.6 kB / 0.8206 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/2.207, allocations: 4 kB / 0.8206 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/2.207, allocations: 5.156 kB / 0.8206 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/2.207, allocations: 29.69 kB / 0.8207 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/2.207, allocations: 0 / 0.8207 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/2.207, allocations: 7.953 kB / 0.8207 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/2.207, allocations: 0 / 0.8207 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/2.207, allocations: 0 / 0.8207 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/2.207, allocations: 149.7 kB / 0.8208 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.622e-05/2.207, allocations: 18.61 kB / 0.8208 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/2.207, allocations: 8.797 kB / 0.8208 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/2.207, allocations: 0 / 0.8208 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/2.207, allocations: 64.31 kB / 0.8209 GB, free: 8.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/2.207, allocations: 0 / 0.8209 GB, free: 8.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002084/2.207, allocations: 71.36 kB / 0.821 GB, free: 8.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/2.207, allocations: 78.61 kB / 0.8211 GB, free: 8.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/2.208, allocations: 89.86 kB / 0.8211 GB, free: 7.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/2.208, allocations: 25.7 kB / 0.8212 GB, free: 7.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/2.208, allocations: 84.08 kB / 0.8212 GB, free: 7.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/2.208, allocations: 0 / 0.8212 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/2.208, allocations: 0 / 0.8212 GB, free: 7.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/2.208, allocations: 314.8 kB / 0.8215 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/2.208, allocations: 12.06 kB / 0.8216 GB, free: 7.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-06/2.208, allocations: 0 / 0.8216 GB, free: 7.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/2.208, allocations: 25.7 kB / 0.8216 GB, free: 7.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/2.208, allocations: 4 kB / 0.8216 GB, free: 7.484 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.505e-05/2.208, allocations: 59.41 kB / 0.8216 GB, free: 7.414 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/2.208, allocations: 40.34 kB / 0.8217 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/2.208, allocations: 0 / 0.8217 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/2.208, allocations: 0 / 0.8217 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/2.208, allocations: 0 / 0.8217 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.208, allocations: 6.016 kB / 0.8217 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/2.208, allocations: 4.094 kB / 0.8217 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/2.208, allocations: 0 / 0.8217 GB, free: 7.363 MB / 426.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.000102/2.208, allocations: 135.5 kB / 0.8218 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/2.208, allocations: 0 / 0.8218 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/2.208, allocations: 3.125 kB / 0.8218 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/2.208, allocations: 0 / 0.8218 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/2.208, allocations: 4 kB / 0.8218 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/2.208, allocations: 10 kB / 0.8218 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/2.209, allocations: 145.7 kB / 0.822 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/2.209, allocations: 7.938 kB / 0.822 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/2.209, allocations: 0 / 0.822 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/2.209, allocations: 0 / 0.822 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/2.209, allocations: 4 kB / 0.822 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/2.209, allocations: 3.875 kB / 0.822 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.209, allocations: 0 / 0.822 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/2.209, allocations: 95.41 kB / 0.8221 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/2.209, allocations: 81.14 kB / 0.8222 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/2.209, allocations: 0 / 0.8222 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/2.209, allocations: 0 / 0.8222 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/2.209, allocations: 3.984 kB / 0.8222 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/2.209, allocations: 4 kB / 0.8222 GB, free: 6.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.17e-05/2.209, allocations: 76.31 kB / 0.8222 GB, free: 6.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.209, allocations: 3.938 kB / 0.8222 GB, free: 6.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01023/2.219, allocations: 1.523 MB / 0.8237 GB, free: 5.176 MB / 426.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.01713/2.236, allocations: 2.026 MB / 0.8257 GB, free: 3.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/2.237, allocations: 67.33 kB / 0.8258 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.237, allocations: 0 / 0.8258 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/2.237, allocations: 55.41 kB / 0.8258 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/2.237, allocations: 4.078 kB / 0.8258 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/2.237, allocations: 89.12 kB / 0.8259 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/2.237, allocations: 0.6731 MB / 0.8266 GB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.903e-06/2.238, allocations: 0 / 0.8266 GB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/2.238, allocations: 11.44 kB / 0.8266 GB, free: 2.199 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/2.238, allocations: 0 / 0.8266 GB, free: 2.199 MB / 426.7 MB Notification: Performance of Templates: time 0.5659/2.803, allocations: 86.39 MB / 0.9109 GB, free: 97.3 MB / 474.7 MB