Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002751/0.002755, allocations: 362.6 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.109/4.109, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.003484/0.003484, allocations: 242 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.5429/0.5429, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 19.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5764, allocations: 81.68 MB / 0.7599 GB, free: 3.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5767, allocations: 73.62 kB / 0.7599 GB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243/1.82, allocations: 37.48 MB / 0.7965 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.82, allocations: 0 / 0.7965 GB, free: 2.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/1.82, allocations: 0 / 0.7965 GB, free: 2.184 MB / 378.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.003537/1.823, allocations: 440.5 kB / 0.797 GB, free: 1.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.823, allocations: 8.031 kB / 0.797 GB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/1.823, allocations: 3.953 kB / 0.797 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.823, allocations: 171 kB / 0.7971 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.823, allocations: 0 / 0.7971 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/1.824, allocations: 7.984 kB / 0.7971 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/1.824, allocations: 25.7 kB / 0.7972 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.824, allocations: 0 / 0.7972 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.824, allocations: 0 / 0.7972 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.824, allocations: 0 / 0.7972 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/1.824, allocations: 7.953 kB / 0.7972 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/1.824, allocations: 149.6 kB / 0.7973 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/1.824, allocations: 23.16 kB / 0.7973 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/1.824, allocations: 8.047 kB / 0.7973 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/1.824, allocations: 0 / 0.7973 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.824, allocations: 56.27 kB / 0.7974 GB, free: 1.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/1.824, allocations: 0 / 0.7974 GB, free: 1.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000208/1.824, allocations: 63.41 kB / 0.7975 GB, free: 1.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/1.824, allocations: 92.78 kB / 0.7975 GB, free: 0.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/1.824, allocations: 89.86 kB / 0.7976 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.825, allocations: 25.7 kB / 0.7977 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/1.825, allocations: 80.14 kB / 0.7977 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/1.825, allocations: 0 / 0.7977 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.825, allocations: 0 / 0.7977 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/1.825, allocations: 314.8 kB / 0.798 GB, free: 440 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/1.825, allocations: 3.938 kB / 0.798 GB, free: 436 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/1.825, allocations: 4 kB / 0.798 GB, free: 432 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/1.825, allocations: 29.77 kB / 0.7981 GB, free: 396 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.825, allocations: 0 / 0.7981 GB, free: 396 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/1.825, allocations: 67.08 kB / 0.7981 GB, free: 320 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/1.825, allocations: 29.7 kB / 0.7982 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.825, allocations: 7.938 kB / 0.7982 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.825, allocations: 3.938 kB / 0.7982 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/1.825, allocations: 0 / 0.7982 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.825, allocations: 0 / 0.7982 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/1.825, allocations: 0 / 0.7982 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.825, allocations: 4.031 kB / 0.7982 GB, free: 268 kB / 378.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.0001121/1.825, allocations: 140.3 kB / 0.7983 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/1.825, allocations: 3.984 kB / 0.7983 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/1.825, allocations: 7.078 kB / 0.7983 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.825, allocations: 0 / 0.7983 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.825, allocations: 0 / 0.7983 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.825, allocations: 0 / 0.7983 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.826, allocations: 157.1 kB / 0.7985 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.826, allocations: 0 / 0.7985 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-06/1.826, allocations: 4 kB / 0.7985 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.826, allocations: 7.969 kB / 0.7985 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.826, allocations: 0 / 0.7985 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.826, allocations: 0 / 0.7985 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.826, allocations: 7.984 kB / 0.7985 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/1.826, allocations: 90.61 kB / 0.7986 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/1.826, allocations: 81.09 kB / 0.7986 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.826, allocations: 4 kB / 0.7987 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/1.826, allocations: 8.031 kB / 0.7987 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/1.826, allocations: 0 / 0.7987 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/1.826, allocations: 4 kB / 0.7987 GB, free: 15.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.279e-05/1.826, allocations: 75.28 kB / 0.7987 GB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.826, allocations: 0 / 0.7987 GB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007711/1.834, allocations: 1.311 MB / 0.8 GB, free: 14.28 MB / 394.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.01275/1.847, allocations: 1.199 MB / 0.8012 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/1.847, allocations: 62.95 kB / 0.8012 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.847, allocations: 0 / 0.8012 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/1.847, allocations: 55.41 kB / 0.8013 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.847, allocations: 8.078 kB / 0.8013 GB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/1.847, allocations: 83.11 kB / 0.8014 GB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.848, allocations: 0.677 MB / 0.802 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.049e-05/1.848, allocations: 0 / 0.802 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/1.848, allocations: 7.438 kB / 0.8021 GB, free: 12.12 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/1.848, allocations: 0 / 0.8021 GB, free: 12.12 MB / 394.7 MB Notification: Performance of Templates: time 0.1797/2.027, allocations: 67.44 MB / 0.8679 GB, free: 8.602 MB / 458.7 MB