Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004147/0.004153, allocations: 347.2 kB / 15.93 MB, free: 6.219 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.412/3.412, 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.00518/0.00518, allocations: 218.1 kB / 397.9 MB, free: 4.973 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.4707/0.4707, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004714, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09049, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4801, allocations: 73.31 MB / 0.6783 GB, free: 39.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4804, allocations: 71.95 kB / 0.6784 GB, free: 39.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.4936, allocations: 2.961 MB / 0.6813 GB, free: 36.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4936, allocations: 4.312 kB / 0.6813 GB, free: 36.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4936, allocations: 0 / 0.6813 GB, free: 36.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003583/0.494, allocations: 366.7 kB / 0.6816 GB, free: 36.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4941, allocations: 8.031 kB / 0.6816 GB, free: 36.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.4941, allocations: 7.906 kB / 0.6817 GB, free: 36.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4942, allocations: 167 kB / 0.6818 GB, free: 35.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4942, allocations: 4.594 kB / 0.6818 GB, free: 35.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.4943, allocations: 4 kB / 0.6818 GB, free: 35.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.4944, allocations: 60.73 kB / 0.6819 GB, free: 35.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4945, allocations: 3.906 kB / 0.6819 GB, free: 35.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4945, allocations: 4 kB / 0.6819 GB, free: 35.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4945, allocations: 3.75 kB / 0.6819 GB, free: 35.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4946, allocations: 23.98 kB / 0.6819 GB, free: 35.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.4948, allocations: 173.6 kB / 0.6821 GB, free: 35.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.4951, allocations: 63.56 kB / 0.6821 GB, free: 35.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.4952, allocations: 28.84 kB / 0.6822 GB, free: 35.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.4955, allocations: 105.1 kB / 0.6823 GB, free: 35.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4955, allocations: 37.25 kB / 0.6823 GB, free: 35.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.4955, allocations: 0 / 0.6823 GB, free: 35.29 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.2459/0.7415, allocations: 6.08 MB / 0.6882 GB, free: 29.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.7416, allocations: 55.41 kB / 0.6883 GB, free: 29.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.7416, allocations: 105.8 kB / 0.6884 GB, free: 29.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.7417, allocations: 25.7 kB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.7417, allocations: 88.14 kB / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.7419, allocations: 67 kB / 0.6886 GB, free: 28.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.7419, allocations: 0 / 0.6886 GB, free: 28.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.742, allocations: 322.8 kB / 0.6889 GB, free: 28.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.7427, allocations: 223.8 kB / 0.6891 GB, free: 28.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.7434, allocations: 224.3 kB / 0.6893 GB, free: 28.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.7451, allocations: 280.4 kB / 0.6896 GB, free: 27.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.7452, allocations: 0 / 0.6896 GB, free: 27.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002681/0.7478, allocations: 0.583 MB / 0.6901 GB, free: 27.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.7479, allocations: 8 kB / 0.6901 GB, free: 27.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7479, allocations: 3.938 kB / 0.6902 GB, free: 27.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.748, allocations: 4 kB / 0.6902 GB, free: 27.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.7488, allocations: 91.83 kB / 0.6902 GB, free: 27.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7489, allocations: 0 / 0.6902 GB, free: 27.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.7494, allocations: 27.98 kB / 0.6903 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.7495, allocations: 31.91 kB / 0.6903 GB, free: 27.13 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 (19): * Single equations (assignments): 19 * 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 0.0001679/0.7497, allocations: 119.9 kB / 0.6904 GB, free: 27.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.7498, allocations: 7.906 kB / 0.6904 GB, free: 27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.7533, allocations: 0.6807 MB / 0.6911 GB, free: 26.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7533, allocations: 8 kB / 0.6911 GB, free: 26.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7533, allocations: 0 / 0.6911 GB, free: 26.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7534, allocations: 0 / 0.6911 GB, free: 26.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.7583, allocations: 1.079 MB / 0.6921 GB, free: 25.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.7583, allocations: 4 kB / 0.6922 GB, free: 25.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.7591, allocations: 87.8 kB / 0.6922 GB, free: 25.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.7591, allocations: 4 kB / 0.6922 GB, free: 25.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.7592, allocations: 19.98 kB / 0.6923 GB, free: 25.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.7592, allocations: 7.984 kB / 0.6923 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7592, allocations: 0 / 0.6923 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.7616, allocations: 0.5666 MB / 0.6928 GB, free: 24.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.7617, allocations: 85.02 kB / 0.6929 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.7618, allocations: 8 kB / 0.6929 GB, free: 24.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.7623, allocations: 31.92 kB / 0.6929 GB, free: 24.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.7624, allocations: 19.98 kB / 0.693 GB, free: 24.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.7624, allocations: 23.97 kB / 0.693 GB, free: 24.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.7625, allocations: 79.28 kB / 0.6931 GB, free: 24.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7625, allocations: 0 / 0.6931 GB, free: 24.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002282/0.7648, allocations: 0.6285 MB / 0.6937 GB, free: 23.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.004786/0.7696, allocations: 346.6 kB / 0.694 GB, free: 23.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7713, allocations: 419.1 kB / 0.6944 GB, free: 22.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7713, allocations: 4 kB / 0.6944 GB, free: 22.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.772, allocations: 191.9 kB / 0.6946 GB, free: 22.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.7724, allocations: 11.95 kB / 0.6946 GB, free: 22.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.7754, allocations: 0.534 MB / 0.6951 GB, free: 22.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.7756, allocations: 0.6987 MB / 0.6958 GB, free: 21.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006376/0.7762, allocations: 103.9 kB / 0.6959 GB, free: 21.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.7766, allocations: 63.36 kB / 0.696 GB, free: 21.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7766, allocations: 0 / 0.696 GB, free: 21.12 MB / 362.7 MB Notification: Performance of Templates: time 0.08959/0.8662, allocations: 49.55 MB / 0.7444 GB, free: 3.633 MB / 394.7 MB