Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002769/0.002774, allocations: 347.2 kB / 15.94 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.505/3.505, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.00355/0.00355, allocations: 222.1 kB / 397.9 MB, free: 4.898 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.7178/0.7178, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007124, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08425, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4603, allocations: 73.42 MB / 0.6784 GB, free: 39.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4606, allocations: 70.03 kB / 0.6785 GB, free: 39.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.4743, allocations: 3.099 MB / 0.6815 GB, free: 36.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4743, allocations: 0 / 0.6815 GB, free: 36.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4744, allocations: 3.75 kB / 0.6815 GB, free: 36.26 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003504/0.4747, allocations: 366.1 kB / 0.6819 GB, free: 35.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4748, allocations: 8.031 kB / 0.6819 GB, free: 35.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.4748, allocations: 8.531 kB / 0.6819 GB, free: 35.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.095e-05/0.4749, allocations: 175.8 kB / 0.682 GB, free: 35.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4749, allocations: 4 kB / 0.6821 GB, free: 35.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.475, allocations: 8 kB / 0.6821 GB, free: 35.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.4751, allocations: 58.3 kB / 0.6821 GB, free: 35.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4752, allocations: 8.766 kB / 0.6821 GB, free: 35.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4752, allocations: 4 kB / 0.6821 GB, free: 35.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4752, allocations: 3 kB / 0.6821 GB, free: 35.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4753, allocations: 44.58 kB / 0.6822 GB, free: 35.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.4755, allocations: 181.5 kB / 0.6823 GB, free: 35.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.4757, allocations: 82.48 kB / 0.6824 GB, free: 35.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.4758, allocations: 32.84 kB / 0.6825 GB, free: 35.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.4761, allocations: 108.7 kB / 0.6826 GB, free: 35.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4761, allocations: 34.56 kB / 0.6826 GB, free: 34.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4761, allocations: 0 / 0.6826 GB, free: 34.99 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2362/0.7123, allocations: 5.534 MB / 0.688 GB, free: 29.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7124, allocations: 55.41 kB / 0.6881 GB, free: 29.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.7125, allocations: 93.8 kB / 0.6881 GB, free: 29.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7125, allocations: 29.7 kB / 0.6882 GB, free: 29.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.7125, allocations: 80.52 kB / 0.6882 GB, free: 29.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.7126, allocations: 83.02 kB / 0.6883 GB, free: 29.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.7127, allocations: 4 kB / 0.6883 GB, free: 29.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.7127, allocations: 314.8 kB / 0.6886 GB, free: 28.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/0.7134, allocations: 135.9 kB / 0.6888 GB, free: 28.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.714, allocations: 137.7 kB / 0.6889 GB, free: 28.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.7154, allocations: 183.7 kB / 0.6891 GB, free: 28.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7154, allocations: 0 / 0.6891 GB, free: 28.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002086/0.7175, allocations: 405.6 kB / 0.6895 GB, free: 28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.7175, allocations: 8 kB / 0.6895 GB, free: 27.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7176, allocations: 0 / 0.6895 GB, free: 27.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.7176, allocations: 0 / 0.6895 GB, free: 27.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.7183, allocations: 95.84 kB / 0.6896 GB, free: 27.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7183, allocations: 11.89 kB / 0.6896 GB, free: 27.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.7187, allocations: 35.97 kB / 0.6896 GB, free: 27.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.7188, allocations: 15.98 kB / 0.6896 GB, free: 27.84 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 (23): * Single equations (assignments): 23 * 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.0001299/0.7189, allocations: 123.8 kB / 0.6897 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.719, allocations: 11.41 kB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.7215, allocations: 481.8 kB / 0.6902 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7215, allocations: 0 / 0.6902 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7215, allocations: 0 / 0.6902 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7215, allocations: 7.938 kB / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.7252, allocations: 0.8698 MB / 0.6911 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.7253, allocations: 0 / 0.6911 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.7259, allocations: 87.94 kB / 0.6911 GB, free: 26.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.7259, allocations: 3.984 kB / 0.6911 GB, free: 26.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.7259, allocations: 14.44 kB / 0.6912 GB, free: 26.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.7259, allocations: 4 kB / 0.6912 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.726, allocations: 3.984 kB / 0.6912 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.728, allocations: 472.6 kB / 0.6916 GB, free: 25.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.7281, allocations: 85.02 kB / 0.6917 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.7281, allocations: 7.984 kB / 0.6917 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.7285, allocations: 43.91 kB / 0.6917 GB, free: 25.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.7285, allocations: 11.98 kB / 0.6918 GB, free: 25.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.7286, allocations: 23.48 kB / 0.6918 GB, free: 25.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.7286, allocations: 75.28 kB / 0.6919 GB, free: 25.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7286, allocations: 0 / 0.6919 GB, free: 25.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002281/0.7309, allocations: 0.609 MB / 0.6924 GB, free: 24.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004622/0.7355, allocations: 350.6 kB / 0.6928 GB, free: 24.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.7371, allocations: 295.7 kB / 0.6931 GB, free: 24.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7371, allocations: 0 / 0.6931 GB, free: 24.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.7377, allocations: 155.9 kB / 0.6932 GB, free: 24.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.7381, allocations: 19.89 kB / 0.6932 GB, free: 24.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.7397, allocations: 403.6 kB / 0.6936 GB, free: 23.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.7398, allocations: 0.705 MB / 0.6943 GB, free: 22.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.7403, allocations: 73.08 kB / 0.6944 GB, free: 22.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.7405, allocations: 47.41 kB / 0.6944 GB, free: 22.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7406, allocations: 4 kB / 0.6944 GB, free: 22.74 MB / 362.7 MB Notification: Performance of Templates: time 0.1085/0.8491, allocations: 48.16 MB / 0.7415 GB, free: 6.656 MB / 394.7 MB