Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004011/0.004017, allocations: 350.1 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.64/3.64, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003439/0.003439, allocations: 221.6 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5019/0.5019, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09234, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4818, allocations: 72.88 MB / 0.6779 GB, free: 39.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4821, allocations: 71.97 kB / 0.678 GB, free: 39.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003482/0.4856, allocations: 0.9083 MB / 0.6789 GB, free: 38.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4857, allocations: 0 / 0.6789 GB, free: 38.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4857, allocations: 0 / 0.6789 GB, free: 38.9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002944/0.486, allocations: 338.4 kB / 0.6792 GB, free: 38.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.486, allocations: 8.812 kB / 0.6792 GB, free: 38.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.4861, allocations: 7.359 kB / 0.6792 GB, free: 38.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.4862, allocations: 166.8 kB / 0.6794 GB, free: 38.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4862, allocations: 7.953 kB / 0.6794 GB, free: 38.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.4862, allocations: 0 / 0.6794 GB, free: 38.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4864, allocations: 61.61 kB / 0.6794 GB, free: 38.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4864, allocations: 0 / 0.6794 GB, free: 38.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4864, allocations: 4 kB / 0.6794 GB, free: 38.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4865, allocations: 3.375 kB / 0.6794 GB, free: 38.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4866, allocations: 47.95 kB / 0.6795 GB, free: 38.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.4868, allocations: 174.3 kB / 0.6796 GB, free: 37.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.4869, allocations: 75.23 kB / 0.6797 GB, free: 37.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.487, allocations: 31.72 kB / 0.6798 GB, free: 37.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.4873, allocations: 263.3 kB / 0.68 GB, free: 37.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.4874, allocations: 30.56 kB / 0.68 GB, free: 37.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.905e-06/0.4874, allocations: 0 / 0.68 GB, free: 37.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002656/0.4877, allocations: 102.5 kB / 0.6801 GB, free: 37.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.4877, allocations: 56.14 kB / 0.6802 GB, free: 37.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.4878, allocations: 92.55 kB / 0.6803 GB, free: 37.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4878, allocations: 29.7 kB / 0.6803 GB, free: 37.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.4878, allocations: 80.14 kB / 0.6804 GB, free: 37.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.4879, allocations: 35.45 kB / 0.6804 GB, free: 37.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.4879, allocations: 4 kB / 0.6804 GB, free: 37.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.488, allocations: 313.8 kB / 0.6807 GB, free: 36.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.488, allocations: 12 kB / 0.6807 GB, free: 36.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.4881, allocations: 27.92 kB / 0.6808 GB, free: 36.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.4881, allocations: 19.75 kB / 0.6808 GB, free: 36.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4881, allocations: 0 / 0.6808 GB, free: 36.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001563/0.4883, allocations: 85.58 kB / 0.6809 GB, free: 36.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4883, allocations: 4 kB / 0.6809 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4884, allocations: 4.672 kB / 0.6809 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4884, allocations: 0 / 0.6809 GB, free: 36.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4885, allocations: 18.78 kB / 0.6809 GB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4886, allocations: 0 / 0.6809 GB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.4886, allocations: 7.906 kB / 0.6809 GB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4886, allocations: 4 kB / 0.6809 GB, free: 36.59 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.005e-05/0.4887, allocations: 107.9 kB / 0.681 GB, free: 36.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.4887, allocations: 15.94 kB / 0.681 GB, free: 36.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.489, allocations: 102.4 kB / 0.6811 GB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.489, allocations: 0 / 0.6811 GB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.489, allocations: 0 / 0.6811 GB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.489, allocations: 2.656 kB / 0.6811 GB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4892, allocations: 173.6 kB / 0.6813 GB, free: 36.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4892, allocations: 3.984 kB / 0.6813 GB, free: 36.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4893, allocations: 15.94 kB / 0.6813 GB, free: 36.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4893, allocations: 8.172 kB / 0.6813 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4893, allocations: 0 / 0.6813 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4893, allocations: 3.938 kB / 0.6813 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4893, allocations: 5.625 kB / 0.6813 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.4895, allocations: 113 kB / 0.6814 GB, free: 35.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.4896, allocations: 81.02 kB / 0.6815 GB, free: 35.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4896, allocations: 3.953 kB / 0.6815 GB, free: 35.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.4896, allocations: 3.438 kB / 0.6815 GB, free: 35.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.4897, allocations: 11.98 kB / 0.6815 GB, free: 35.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4897, allocations: 4 kB / 0.6815 GB, free: 35.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.312e-05/0.4897, allocations: 75.28 kB / 0.6816 GB, free: 35.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4897, allocations: 0 / 0.6816 GB, free: 35.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.49, allocations: 23.94 kB / 0.6816 GB, free: 35.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000152/0.4902, allocations: 110.7 kB / 0.6817 GB, free: 35.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.4904, allocations: 51.92 kB / 0.6818 GB, free: 35.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4904, allocations: 4 kB / 0.6818 GB, free: 35.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.4905, allocations: 27.92 kB / 0.6818 GB, free: 35.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.4907, allocations: 8 kB / 0.6818 GB, free: 35.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.4911, allocations: 143.5 kB / 0.6819 GB, free: 35.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4912, allocations: 0.6848 MB / 0.6826 GB, free: 34.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.4913, allocations: 7.375 kB / 0.6826 GB, free: 34.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.4913, allocations: 15.42 kB / 0.6826 GB, free: 34.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4913, allocations: 0.625 kB / 0.6826 GB, free: 34.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003384/0.4947, allocations: 0.6118 MB / 0.6832 GB, free: 34.13 MB / 362.7 MB