Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002605/0.002605, allocations: 347.9 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.574/3.574, 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.00345/0.00345, allocations: 222.1 kB / 397.9 MB, free: 4.965 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.4607/0.4607, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08848, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.4938, allocations: 72.79 MB / 0.6778 GB, free: 39.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.4941, allocations: 75.33 kB / 0.6779 GB, free: 39.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002427/0.4966, allocations: 0.5627 MB / 0.6784 GB, free: 39.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4966, allocations: 0 / 0.6784 GB, free: 39.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4967, allocations: 0 / 0.6784 GB, free: 39.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003232/0.497, allocations: 330.5 kB / 0.6788 GB, free: 38.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4971, allocations: 8.906 kB / 0.6788 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.4971, allocations: 5.719 kB / 0.6788 GB, free: 38.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4972, allocations: 163.7 kB / 0.6789 GB, free: 38.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4973, allocations: 3.953 kB / 0.6789 GB, free: 38.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4973, allocations: 7.062 kB / 0.6789 GB, free: 38.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4975, allocations: 51.41 kB / 0.679 GB, free: 38.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4975, allocations: 0 / 0.679 GB, free: 38.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4975, allocations: 0 / 0.679 GB, free: 38.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4976, allocations: 2.297 kB / 0.679 GB, free: 38.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.4977, allocations: 19.92 kB / 0.679 GB, free: 38.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.498, allocations: 320.9 kB / 0.6793 GB, free: 38.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.4981, allocations: 26.72 kB / 0.6793 GB, free: 38.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.4982, allocations: 12.84 kB / 0.6793 GB, free: 38.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.4983, allocations: 0 / 0.6793 GB, free: 38.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4983, allocations: 41.44 kB / 0.6794 GB, free: 38.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.747e-06/0.4984, allocations: 1.641 kB / 0.6794 GB, free: 38.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003077/0.4987, allocations: 57.53 kB / 0.6794 GB, free: 38.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.4987, allocations: 51.41 kB / 0.6795 GB, free: 38.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.4988, allocations: 97.86 kB / 0.6796 GB, free: 37.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4988, allocations: 29.69 kB / 0.6796 GB, free: 37.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.4989, allocations: 81.77 kB / 0.6797 GB, free: 37.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.4989, allocations: 11.75 kB / 0.6797 GB, free: 37.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.499, allocations: 11.75 kB / 0.6797 GB, free: 37.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.499, allocations: 316.8 kB / 0.68 GB, free: 37.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.4991, allocations: 4 kB / 0.68 GB, free: 37.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.4992, allocations: 21.7 kB / 0.68 GB, free: 37.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.046e-05/0.4993, allocations: 12.62 kB / 0.6801 GB, free: 37.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4993, allocations: 0 / 0.6801 GB, free: 37.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001752/0.4995, allocations: 54.78 kB / 0.6801 GB, free: 37.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4995, allocations: 4 kB / 0.6801 GB, free: 37.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4995, allocations: 6.531 kB / 0.6801 GB, free: 37.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4996, allocations: 0 / 0.6801 GB, free: 37.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4997, allocations: 15.92 kB / 0.6801 GB, free: 37.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4997, allocations: 0 / 0.6801 GB, free: 37.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.4998, allocations: 4 kB / 0.6801 GB, free: 37.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4998, allocations: 5.922 kB / 0.6801 GB, free: 37.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.755e-05/0.4999, allocations: 111.9 kB / 0.6802 GB, free: 37.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.5, allocations: 11.19 kB / 0.6803 GB, free: 37.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.5002, allocations: 60.62 kB / 0.6803 GB, free: 37.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5002, allocations: 4 kB / 0.6803 GB, free: 37.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5003, allocations: 0 / 0.6803 GB, free: 37.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5003, allocations: 0 / 0.6803 GB, free: 37.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.5005, allocations: 157.6 kB / 0.6805 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5005, allocations: 0 / 0.6805 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.5006, allocations: 15.92 kB / 0.6805 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5007, allocations: 0 / 0.6805 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5007, allocations: 0.5625 kB / 0.6805 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5007, allocations: 3.469 kB / 0.6805 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5007, allocations: 0 / 0.6805 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.5009, allocations: 151.5 kB / 0.6806 GB, free: 36.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.501, allocations: 81.06 kB / 0.6807 GB, free: 36.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.501, allocations: 0 / 0.6807 GB, free: 36.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5011, allocations: 0 / 0.6807 GB, free: 36.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.5012, allocations: 4 kB / 0.6807 GB, free: 36.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5012, allocations: 4.766 kB / 0.6807 GB, free: 36.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.5012, allocations: 81.97 kB / 0.6808 GB, free: 36.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5013, allocations: 0 / 0.6808 GB, free: 36.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004758/0.5018, allocations: 8 kB / 0.6808 GB, free: 36.59 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 (5): * Single equations (assignments): 5 * 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.5019, allocations: 103.5 kB / 0.6809 GB, free: 36.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.5021, allocations: 24.58 kB / 0.6809 GB, free: 36.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5021, allocations: 0 / 0.6809 GB, free: 36.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.5022, allocations: 20.88 kB / 0.6809 GB, free: 36.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.5027, allocations: 9.5 kB / 0.681 GB, free: 36.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.503, allocations: 112.2 kB / 0.6811 GB, free: 36.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.5032, allocations: 0.677 MB / 0.6817 GB, free: 35.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.5033, allocations: 10.77 kB / 0.6817 GB, free: 35.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.5033, allocations: 7.438 kB / 0.6817 GB, free: 35.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5034, allocations: 0 / 0.6817 GB, free: 35.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004037/0.5074, allocations: 420.3 kB / 0.6821 GB, free: 35.23 MB / 362.7 MB